]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
netfilter: nat: merge udp and udplite helpers
authorFlorian Westphal <fw@strlen.de>
Tue, 20 Dec 2016 20:57:03 +0000 (21:57 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 3 Jan 2017 13:33:25 +0000 (14:33 +0100)
commit9700ba805b4f58d26c4621ad6ba6b0e632e7a04b
tree199d253ec1638c482a0960b949aa87a94b1d60ba
parente4781421e883340b796da5a724bda7226817990b
netfilter: nat: merge udp and udplite helpers

udplite nat was copied from udp nat, they are virtually 100% identical.
Not really surprising given udplite is just udp with partial csum coverage.

old:
   text    data     bss     dec     hex filename
  11606    1457     210   13273    33d9 nf_nat.ko
    330       0       2     332     14c nf_nat_proto_udp.o
    276       0       2     278     116 nf_nat_proto_udplite.o
new:
   text    data     bss     dec     hex filename
  11598    1457     210   13265    33d1 nf_nat.ko
    640       0       4     644     284 nf_nat_proto_udp.o

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/Makefile
net/netfilter/nf_nat_proto_udp.c
net/netfilter/nf_nat_proto_udplite.c [deleted file]