Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69400
b: refs/heads/master
c: 7b99565
h: refs/heads/master
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed Oct 15, 2007
1 parent f2622d5 commit 4e19dbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f697c3e8b35c18b2698d64137c0fa84b0cdb3d10
refs/heads/master: 7b995651e373d6424f81db23f2ec503306dfd7f0
4 changes: 4 additions & 0 deletions trunk/net/bridge/br_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ struct sk_buff *br_handle_frame(struct net_bridge_port *p, struct sk_buff *skb)
if (!is_valid_ether_addr(eth_hdr(skb)->h_source))
goto drop;

skb = skb_share_check(skb, GFP_ATOMIC);
if (!skb)
return NULL;

if (unlikely(is_link_local(dest))) {
/* Pause frames shouldn't be passed up by driver anyway */
if (skb->protocol == htons(ETH_P_PAUSE))
Expand Down

0 comments on commit 4e19dbd

Please sign in to comment.