summaryrefslogtreecommitdiff
path: root/net/ipv6/udp.c
diff options
context:
space:
mode:
authorDavide Caratti <dcaratti@redhat.com>2016-11-07 18:31:17 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2016-11-09 23:49:25 +0100
commit0e54d2179f650bac80d89a9def429dbdbed58c11 (patch)
treeb31bc7daac4dc1213b9767e381a190eadc14f6ac /net/ipv6/udp.c
parent4e24877e61e8507c0843e4bddbc6ecccbfd2e87d (diff)
netfilter: conntrack: simplify init/uninit of L4 protocol trackers
modify registration and deregistration of layer-4 protocol trackers to facilitate inclusion of new elements into the current list of builtin protocols. Both builtin (TCP, UDP, ICMP) and non-builtin (DCCP, GRE, SCTP, UDPlite) layer-4 protocol trackers usually register/deregister themselves using consecutive calls to nf_ct_l4proto_{,pernet}_{,un}register(...). This sequence is interrupted and rolled back in case of error; in order to simplify addition of builtin protocols, the input of the above functions has been modified to allow registering/unregistering multiple protocols. Signed-off-by: Davide Caratti <dcaratti@redhat.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6/udp.c')
0 files changed, 0 insertions, 0 deletions