aboutsummaryrefslogtreecommitdiffstats
path: root/net/netrom/nr_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/netrom/nr_subr.c')
-rw-r--r--net/netrom/nr_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netrom/nr_subr.c b/net/netrom/nr_subr.c
index bcb9946b4f56..cfab5721a608 100644
--- a/net/netrom/nr_subr.c
+++ b/net/netrom/nr_subr.c
@@ -57,7 +57,7 @@ void nr_frames_acked(struct sock *sk, unsigned short nr)
57 */ 57 */
58 if (nrom->va != nr) { 58 if (nrom->va != nr) {
59 while (skb_peek(&nrom->ack_queue) != NULL && nrom->va != nr) { 59 while (skb_peek(&nrom->ack_queue) != NULL && nrom->va != nr) {
60 skb = skb_dequeue(&nrom->ack_queue); 60 skb = skb_dequeue(&nrom->ack_queue);
61 kfree_skb(skb); 61 kfree_skb(skb);
62 nrom->va = (nrom->va + 1) % NR_MODULUS; 62 nrom->va = (nrom->va + 1) % NR_MODULUS;
63 } 63 }