diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
commit | 27cfca1ec98e91261b1a5355d10a8996464b63af (patch) | |
tree | 8e895a53e372fa682b4c0a585b9377d67ed70d0e /net/lapb | |
parent | 6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff) |
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too
o Upgrade to 2.1.89.
Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'net/lapb')
-rw-r--r-- | net/lapb/.cvsignore | 1 | ||||
-rw-r--r-- | net/lapb/lapb_in.c | 10 | ||||
-rw-r--r-- | net/lapb/lapb_out.c | 2 | ||||
-rw-r--r-- | net/lapb/lapb_subr.c | 6 |
4 files changed, 10 insertions, 9 deletions
diff --git a/net/lapb/.cvsignore b/net/lapb/.cvsignore index 4671378ae..857dd22e9 100644 --- a/net/lapb/.cvsignore +++ b/net/lapb/.cvsignore @@ -1 +1,2 @@ .depend +.*.flags diff --git a/net/lapb/lapb_in.c b/net/lapb/lapb_in.c index 126b93673..4e7a9ca4d 100644 --- a/net/lapb/lapb_in.c +++ b/net/lapb/lapb_in.c @@ -114,7 +114,7 @@ static void lapb_state0_machine(lapb_cb *lapb, struct sk_buff *skb, struct lapb_ break; } - kfree_skb(skb, FREE_READ); + kfree_skb(skb); } /* @@ -206,7 +206,7 @@ static void lapb_state1_machine(lapb_cb *lapb, struct sk_buff *skb, struct lapb_ break; } - kfree_skb(skb, FREE_READ); + kfree_skb(skb); } /* @@ -278,7 +278,7 @@ static void lapb_state2_machine(lapb_cb *lapb, struct sk_buff *skb, struct lapb_ break; } - kfree_skb(skb, FREE_READ); + kfree_skb(skb); } /* @@ -523,7 +523,7 @@ static void lapb_state3_machine(lapb_cb *lapb, struct sk_buff *skb, struct lapb_ } if (!queued) - kfree_skb(skb, FREE_READ); + kfree_skb(skb); } /* @@ -595,7 +595,7 @@ static void lapb_state4_machine(lapb_cb *lapb, struct sk_buff *skb, struct lapb_ break; } - kfree_skb(skb, FREE_READ); + kfree_skb(skb); } /* diff --git a/net/lapb/lapb_out.c b/net/lapb/lapb_out.c index 9e1cdf475..8c8b21c10 100644 --- a/net/lapb/lapb_out.c +++ b/net/lapb/lapb_out.c @@ -158,7 +158,7 @@ void lapb_transmit_buffer(lapb_cb *lapb, struct sk_buff *skb, int type) #endif if (!lapb_data_transmit(lapb, skb)) - kfree_skb(skb, FREE_WRITE); + kfree_skb(skb); } void lapb_establish_data_link(lapb_cb *lapb) diff --git a/net/lapb/lapb_subr.c b/net/lapb/lapb_subr.c index 3f7f0a84e..611eba6f1 100644 --- a/net/lapb/lapb_subr.c +++ b/net/lapb/lapb_subr.c @@ -43,10 +43,10 @@ void lapb_clear_queues(lapb_cb *lapb) struct sk_buff *skb; while ((skb = skb_dequeue(&lapb->write_queue)) != NULL) - kfree_skb(skb, FREE_WRITE); + kfree_skb(skb); while ((skb = skb_dequeue(&lapb->ack_queue)) != NULL) - kfree_skb(skb, FREE_WRITE); + kfree_skb(skb); } /* @@ -67,7 +67,7 @@ void lapb_frames_acked(lapb_cb *lapb, unsigned short nr) if (lapb->va != nr) { while (skb_peek(&lapb->ack_queue) != NULL && lapb->va != nr) { skb = skb_dequeue(&lapb->ack_queue); - kfree_skb(skb, FREE_WRITE); + kfree_skb(skb); lapb->va = (lapb->va + 1) % modulus; } } |