mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 01:21:58 +00:00
[IPVS]: Use skb_forward_csum
As a path that forwards packets, IPVS should be using skb_forward_csum instead of directly setting ip_summed to CHECKSUM_NONE. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
25a8b2545b
commit
ccc7911fbd
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ ip_vs_dst_reset(struct ip_vs_dest *dest)
|
||||||
#define IP_VS_XMIT(skb, rt) \
|
#define IP_VS_XMIT(skb, rt) \
|
||||||
do { \
|
do { \
|
||||||
(skb)->ipvs_property = 1; \
|
(skb)->ipvs_property = 1; \
|
||||||
(skb)->ip_summed = CHECKSUM_NONE; \
|
skb_forward_csum(skb); \
|
||||||
NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, (skb), NULL, \
|
NF_HOOK(PF_INET, NF_IP_LOCAL_OUT, (skb), NULL, \
|
||||||
(rt)->u.dst.dev, dst_output); \
|
(rt)->u.dst.dev, dst_output); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue