1. 03 Jan, 2017 2 commits
    • Florian Westphal's avatar
      netfilter: nat: merge udp and udplite helpers · 9700ba80
      Florian Westphal authored
      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: default avatarFlorian Westphal <fw@strlen.de>
      Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
      9700ba80
    • Florian Westphal's avatar
      netfilter: merge udp and udplite conntrack helpers · e4781421
      Florian Westphal authored
      udplite was copied from udp, they are virtually 100% identical.
      
      This adds udplite tracker to udp instead, removes udplite module,
      and then makes the udplite tracker builtin.
      
      udplite will then simply re-use udp timeout settings.
      It makes little sense to add separate sysctls, nowadays we have
      fine-grained timeout policy support via the CT target.
      
      old:
       text    data     bss     dec     hex filename
       1633     672       0    2305     901 nf_conntrack_proto_udp.o
       1756     672       0    2428     97c nf_conntrack_proto_udplite.o
      69526   17937     268   87731   156b3 nf_conntrack.ko
      
      new:
       text    data     bss     dec     hex filename
       2442    1184       0    3626     e2a nf_conntrack_proto_udp.o
      68565   17721     268   86554   1521a nf_conntrack.ko
      Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
      Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
      e4781421
  2. 02 Jan, 2017 37 commits
  3. 01 Jan, 2017 1 commit