diff options
author | Tom Herbert <therbert@google.com> | 2014-06-14 23:24:28 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-15 01:00:50 -0700 |
commit | e5eb4e30a51236079fb22bb9f75fcd31915b03c6 (patch) | |
tree | 8ad2ebd487bfd56a49f680061c078dff2f196af2 /drivers/net/vxlan.c | |
parent | bbdff225ede6527f91184b2a7903df8aad803ace (diff) | |
download | lwn-e5eb4e30a51236079fb22bb9f75fcd31915b03c6.tar.gz lwn-e5eb4e30a51236079fb22bb9f75fcd31915b03c6.zip |
net: add skb_pop_rcv_encapsulation
This function is used by UDP encapsulation protocols in RX when
crossing encapsulation boundary. If ip_summed is set to
CHECKSUM_UNNECESSARY and encapsulation is not set, change to
CHECKSUM_NONE since the checksum has not been validated within the
encapsulation. Clears csum_valid by the same rationale.
Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxlan.c')
0 files changed, 0 insertions, 0 deletions