X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=net%2Fllc%2Fllc_c_ev.c;h=d5bdb53a348f3002c184f3f0059ebbf183ba3309;hb=5028770a42e7bc4d15791a44c28f0ad539323807;hp=cd130c3b72bc438063597d2245a5db26e6ec38d6;hpb=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2;p=linux-2.6 diff --git a/net/llc/llc_c_ev.c b/net/llc/llc_c_ev.c index cd130c3b72..d5bdb53a34 100644 --- a/net/llc/llc_c_ev.c +++ b/net/llc/llc_c_ev.c @@ -84,7 +84,7 @@ static u16 llc_util_nr_inside_tx_window(struct sock *sk, u8 nr) if (llc->dev->flags & IFF_LOOPBACK) goto out; rc = 1; - if (!skb_queue_len(&llc->pdu_unack_q)) + if (skb_queue_empty(&llc->pdu_unack_q)) goto out; skb = skb_peek(&llc->pdu_unack_q); pdu = llc_pdu_sn_hdr(skb);