aboutsummaryrefslogtreecommitdiffstats
path: root/net/llc/llc_input.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-02-13 01:43:25 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-02-13 01:43:25 -0500
commitd9bc125caf592b7d081021f32ce5b717efdf70c8 (patch)
tree263b7066ba22ddce21db610c0300f6eaac6f2064 /net/llc/llc_input.c
parent43d78ef2ba5bec26d0315859e8324bfc0be23766 (diff)
parentec2f9d1331f658433411c58077871e1eef4ee1b4 (diff)
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Conflicts: net/sunrpc/auth_gss/gss_krb5_crypto.c net/sunrpc/auth_gss/gss_spkm3_token.c net/sunrpc/clnt.c Merge with mainline and fix conflicts.
Diffstat (limited to 'net/llc/llc_input.c')
-rw-r--r--net/llc/llc_input.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/llc/llc_input.c b/net/llc/llc_input.c
index db82aff6e40f..b3f65d1e80b1 100644
--- a/net/llc/llc_input.c
+++ b/net/llc/llc_input.c
@@ -164,7 +164,7 @@ int llc_rcv(struct sk_buff *skb, struct net_device *dev,
164 sap = llc_sap_find(pdu->dsap); 164 sap = llc_sap_find(pdu->dsap);
165 if (unlikely(!sap)) {/* unknown SAP */ 165 if (unlikely(!sap)) {/* unknown SAP */
166 dprintk("%s: llc_sap_find(%02X) failed!\n", __FUNCTION__, 166 dprintk("%s: llc_sap_find(%02X) failed!\n", __FUNCTION__,
167 pdu->dsap); 167 pdu->dsap);
168 goto drop; 168 goto drop;
169 } 169 }
170 /* 170 /*
@@ -173,9 +173,9 @@ int llc_rcv(struct sk_buff *skb, struct net_device *dev,
173 */ 173 */
174 rcv = rcu_dereference(sap->rcv_func); 174 rcv = rcu_dereference(sap->rcv_func);
175 if (rcv) { 175 if (rcv) {
176 struct sk_buff *cskb = skb_clone(skb, GFP_ATOMIC); 176 struct sk_buff *cskb = skb_clone(skb, GFP_ATOMIC);
177 if (cskb) 177 if (cskb)
178 rcv(cskb, dev, pt, orig_dev); 178 rcv(cskb, dev, pt, orig_dev);
179 } 179 }
180 dest = llc_pdu_type(skb); 180 dest = llc_pdu_type(skb);
181 if (unlikely(!dest || !llc_type_handlers[dest - 1])) 181 if (unlikely(!dest || !llc_type_handlers[dest - 1]))