• Thomas Haller's avatar
    platform: merge _add_action(), _add_action_simple() and _add_action_mirred()... · cea79df5
    Thomas Haller authored
    platform: merge _add_action(), _add_action_simple() and _add_action_mirred() into _nl_msg_new_tfilter()
    
    There is only one caller, hence it's simpler to see it all in one place.
    I prefer this, because then I can read the code top to bottom and
    see what's happening, without following helper functions.
    
    Also, this way we can "reuse" the nla_put_failure label and assertion. Previously,
    if the assertion was hit we would not rewind the buffer but continue
    constructing the message (which is already borked). Not that it matters
    too much, because this was on an "failed-assertion" code path.
    
    (cherry picked from commit 04bd404d)
    cea79df5
Name
Last commit
Last update
..
devices Loading commit data...
dhcp Loading commit data...
dns Loading commit data...
dnsmasq Loading commit data...
initrd Loading commit data...
ndisc Loading commit data...
platform Loading commit data...
ppp Loading commit data...
settings Loading commit data...
supplicant Loading commit data...
systemd Loading commit data...
tests Loading commit data...
vpn Loading commit data...
NetworkManagerUtils.c Loading commit data...
NetworkManagerUtils.h Loading commit data...
main-utils.c Loading commit data...
main-utils.h Loading commit data...
main.c Loading commit data...
meson.build Loading commit data...
nm-act-request.c Loading commit data...
nm-act-request.h Loading commit data...
nm-active-connection.c Loading commit data...
nm-active-connection.h Loading commit data...
nm-audit-manager.c Loading commit data...
nm-audit-manager.h Loading commit data...
nm-auth-manager.c Loading commit data...
nm-auth-manager.h Loading commit data...
nm-auth-subject.c Loading commit data...
nm-auth-subject.h Loading commit data...
nm-auth-utils.c Loading commit data...
nm-auth-utils.h Loading commit data...
nm-checkpoint-manager.c Loading commit data...
nm-checkpoint-manager.h Loading commit data...
nm-checkpoint.c Loading commit data...
nm-checkpoint.h Loading commit data...
nm-config-data.c Loading commit data...
nm-config-data.h Loading commit data...
nm-config.c Loading commit data...
nm-config.h Loading commit data...
nm-connectivity.c Loading commit data...
nm-connectivity.h Loading commit data...
nm-core-utils.c Loading commit data...
nm-core-utils.h Loading commit data...
nm-dbus-manager.c Loading commit data...
nm-dbus-manager.h Loading commit data...
nm-dbus-object.c Loading commit data...
nm-dbus-object.h Loading commit data...
nm-dbus-utils.c Loading commit data...
nm-dbus-utils.h Loading commit data...
nm-dcb.c Loading commit data...
nm-dcb.h Loading commit data...
nm-dhcp4-config.c Loading commit data...
nm-dhcp4-config.h Loading commit data...
nm-dhcp6-config.c Loading commit data...
nm-dhcp6-config.h Loading commit data...
nm-dispatcher.c Loading commit data...
nm-dispatcher.h Loading commit data...
nm-firewall-manager.c Loading commit data...
nm-firewall-manager.h Loading commit data...
nm-hostname-manager.c Loading commit data...
nm-hostname-manager.h Loading commit data...
nm-iface-helper.c Loading commit data...
nm-ip4-config.c Loading commit data...
nm-ip4-config.h Loading commit data...
nm-ip6-config.c Loading commit data...
nm-ip6-config.h Loading commit data...
nm-keep-alive.c Loading commit data...
nm-keep-alive.h Loading commit data...
nm-logging.c Loading commit data...
nm-logging.h Loading commit data...
nm-manager.c Loading commit data...
nm-manager.h Loading commit data...
nm-netns.c Loading commit data...
nm-netns.h Loading commit data...
nm-pacrunner-manager.c Loading commit data...
nm-pacrunner-manager.h Loading commit data...
nm-policy.c Loading commit data...
nm-policy.h Loading commit data...
nm-proxy-config.c Loading commit data...
nm-proxy-config.h Loading commit data...
nm-rfkill-manager.c Loading commit data...
nm-rfkill-manager.h Loading commit data...
nm-session-monitor.c Loading commit data...
nm-session-monitor.h Loading commit data...
nm-sleep-monitor.c Loading commit data...
nm-sleep-monitor.h Loading commit data...
nm-test-utils-core.h Loading commit data...
nm-types.h Loading commit data...
org.freedesktop.NetworkManager.conf Loading commit data...