]> git.hungrycats.org Git - linux/commit
[IPVS]: Do not use skb_checksum_help(), create and use nf_reset_debug()
authorJulian Anastasov <ja@ssi.bg>
Sun, 12 Sep 2004 09:26:08 +0000 (02:26 -0700)
committerDavid S. Miller <davem@nuts.davemloft.net>
Sun, 12 Sep 2004 09:26:08 +0000 (02:26 -0700)
commit3560d357ad3341336896af1f77dab6f509fef400
tree2deacdeb1e4b919abe85156c83abab50315b82c0
parentef9a2917cdb8b28eb36ea88bb7f09cc54f105fe6
[IPVS]: Do not use skb_checksum_help(), create and use nf_reset_debug()

Appended is a 2nd version that uses nf_reset_debug.

- do not use skb_checksum_help in input path as ipvs can handle
incoming CHECKSUM_HW packets

- do not use skb_checksum_help in forwarding path

- claim that checksum is valid (CHECKSUM_NONE) when entering output
path for out->in packets

- do not reset/destroy the nfct in IP_VS_XMIT, the intention is to
reset the debugging field just to avoid log floods from nf_debug_ip_*
functions, it is known that the ipvs packets traverse other
hooks, eg. LOCAL_IN->LOCAL_OUT. Use nf_reset_debug instead of nf_reset.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/ipv4/ipvs/ip_vs_core.c
net/ipv4/ipvs/ip_vs_xmit.c