vxlan: fix too large pskb_may_pull with remote checksum
authorJiri Benc <jbenc@redhat.com>
Mon, 21 Mar 2016 16:50:05 +0000 (17:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Mar 2016 17:32:19 +0000 (13:32 -0400)
commit7d34fa75d3ee99a90ebb33c2917aa9152fb36a9c
treedfdf5f6576e837b63836a18242d231350f89af5c
parent5692d7ea4183b8dd5a49d73d6a4436aa22929b7b
vxlan: fix too large pskb_may_pull with remote checksum

vxlan_remcsum is called after iptunnel_pull_header and thus the skb has
vxlan header already pulled. Don't include vxlan header again in the
calculation.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c