vxlan: using pskb_may_pull as early as possible
authorLi RongQing <roy.qing.li@gmail.com>
Thu, 16 Oct 2014 01:17:18 +0000 (09:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Oct 2014 03:33:23 +0000 (23:33 -0400)
pskb_may_pull should be used to check if skb->data has enough space,
skb->len can not ensure that.

Cc: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c

Simple merge