Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224158
b: refs/heads/master
c: 8f5549f
h: refs/heads/master
v: v3
  • Loading branch information
John Fastabend authored and David S. Miller committed Nov 15, 2010
1 parent d1b0812 commit d2a1cec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 029f5fc31cdb35d6c8a7fe9a54bf21556e175988
refs/heads/master: 8f5549f381ced6a255f2c7127b2b3b3b05fdfd6e
3 changes: 0 additions & 3 deletions trunk/net/8021q/vlan_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,6 @@ static int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev,
u16 vlan_tci = 0;
int rc;

if (WARN_ON(skb_headroom(skb) < dev->hard_header_len))
return -ENOSPC;

if (!(vlan_dev_info(dev)->flags & VLAN_FLAG_REORDER_HDR)) {
vhdr = (struct vlan_hdr *) skb_push(skb, VLAN_HLEN);

Expand Down

0 comments on commit d2a1cec

Please sign in to comment.