]> err.no Git - linux-2.6/commit
[NETFILTER]: nf_nat: use HW checksumming when possible
authorPatrick McHardy <kaber@trash.net>
Fri, 13 Apr 2007 05:15:50 +0000 (22:15 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:28:59 +0000 (22:28 -0700)
commitfe6092ea0019cbba5263a915c9ce9f2bf383209e
tree0da8554466720878ce6fec639eebe7ea2e7ec96e
parentc15bf6e699f4c366f2d1e19ac5d7add21c6b5a19
[NETFILTER]: nf_nat: use HW checksumming when possible

When mangling packets forwarded to a HW checksumming capable device,
offload recalculation of the checksum instead of doing it in software.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/nf_nat_helper.c