net: remove check for headroom in vlan_dev_create
authorJohn Fastabend <john.r.fastabend@intel.com>
Sat, 30 Oct 2010 14:22:37 +0000 (14:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Nov 2010 18:11:40 +0000 (10:11 -0800)
commit8f5549f381ced6a255f2c7127b2b3b3b05fdfd6e
tree495c1ed3e1031a8f07b659cf3772ed2be22ea9d3
parent029f5fc31cdb35d6c8a7fe9a54bf21556e175988
net: remove check for headroom in vlan_dev_create

It is possible for the headroom to be smaller then the
hard_header_len for a short period of time after toggling
the vlan offload setting.

This is not a hard error and skb_cow_head is called in
__vlan_put_tag() to resolve this.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan_dev.c