Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 335590
b: refs/heads/master
c: a3d744e
h: refs/heads/master
v: v3
  • Loading branch information
Eric Leblond authored and David S. Miller committed Nov 7, 2012
1 parent c5ec946 commit 873c5bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 3015f3d2a3cd9614294025849d3ed89fd2f3a7f5
refs/heads/master: a3d744e995d2b936c500585ae39d99ee251c89b4
2 changes: 1 addition & 1 deletion trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1666,7 +1666,7 @@ static inline int deliver_skb(struct sk_buff *skb,

static inline bool skb_loop_sk(struct packet_type *ptype, struct sk_buff *skb)
{
if (ptype->af_packet_priv == NULL)
if (!ptype->af_packet_priv || !skb->sk)
return false;

if (ptype->id_match)
Expand Down

0 comments on commit 873c5bf

Please sign in to comment.