commit | 0abee5260babe0a12d468b485a28336551697925 | [log] [tgz] |
---|---|---|
author | Changli Gao <xiaosuo@gmail.com> | Wed Sep 15 19:24:50 2010 +0200 |
committer | Patrick McHardy <kaber@trash.net> | Wed Sep 15 19:24:50 2010 +0200 |
tree | e7da178d0eb31ef4bd69ed6f63629d0eb7a19407 | |
parent | 068e8a30320e33b1f8d15df9eaef84f04258f96d [diff] |
netfilter: nf_nat: add nf_nat_csum() Add a static function nf_nat_csum() to replace the duplicate code in nf_nat_mangle_udp_packet() and __nf_nat_mangle_tcp_packet(). Signed-off-by: Changli Gao <xiaosuo@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net>