Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314608
b: refs/heads/master
c: c95567c
h: refs/heads/master
v: v3
  • Loading branch information
Kim Lilliestierna XX authored and David S. Miller committed Jun 25, 2012
1 parent d2a22ab commit fab8a75
Show file tree
Hide file tree
Showing 2 changed files with 6 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: be4852c957b7c1e8eeac8d13c3ef228508c0873a
refs/heads/master: c95567c8035281d20ca8266cb39f8d48307a70af
5 changes: 5 additions & 0 deletions trunk/net/caif/caif_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ void caif_flow_cb(struct sk_buff *skb)

rcu_read_lock();
caifd = caif_get(skb->dev);

WARN_ON(caifd == NULL);
if (caifd == NULL)
return;

caifd_hold(caifd);
rcu_read_unlock();

Expand Down

0 comments on commit fab8a75

Please sign in to comment.