Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27501
b: refs/heads/master
c: 23dbe79
h: refs/heads/master
i:
  27499: 1390005
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Jun 18, 2006
1 parent 9f595e4 commit c1d5bad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 29efcd2666b3a465b40aa07ef1f4d79847303e2f
refs/heads/master: 23dbe7912dad6be71bb9e69cb819d05e2442d362
7 changes: 5 additions & 2 deletions trunk/net/llc/llc_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ int llc_rcv(struct sk_buff *skb, struct net_device *dev,
struct llc_sap *sap;
struct llc_pdu_sn *pdu;
int dest;
int (*rcv)(struct sk_buff *, struct net_device *,
struct packet_type *, struct net_device *);

/*
* When the interface is in promisc. mode, drop all the crap that it
Expand Down Expand Up @@ -169,8 +171,9 @@ int llc_rcv(struct sk_buff *skb, struct net_device *dev,
* First the upper layer protocols that don't need the full
* LLC functionality
*/
if (sap->rcv_func) {
sap->rcv_func(skb, dev, pt, orig_dev);
rcv = rcu_dereference(sap->rcv_func);
if (rcv) {
rcv(skb, dev, pt, orig_dev);
goto out_put;
}
dest = llc_pdu_type(skb);
Expand Down

0 comments on commit c1d5bad

Please sign in to comment.