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/rose/rose_dev.c | |
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/rose/rose_dev.c')
-rw-r--r-- | net/rose/rose_dev.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/net/rose/rose_dev.c b/net/rose/rose_dev.c index bc2097cda..0cc81c464 100644 --- a/net/rose/rose_dev.c +++ b/net/rose/rose_dev.c @@ -102,22 +102,25 @@ static int rose_rebuild_header(struct sk_buff *skb) struct sk_buff *skbn; if (arp_find(bp + 7, skb)) { - kfree_skb(skb, FREE_WRITE); +#if 0 + /* BUGGGG! If arp_find returned 1, skb does not exist. --ANK*/ + kfree_skb(skb); +#endif return 1; } if ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) { - kfree_skb(skb, FREE_WRITE); + kfree_skb(skb); return 1; } if (skb->sk != NULL) skb_set_owner_w(skbn, skb->sk); - kfree_skb(skb, FREE_WRITE); + kfree_skb(skb); if (!rose_route_frame(skbn, NULL)) { - kfree_skb(skbn, FREE_WRITE); + kfree_skb(skbn); stats->tx_errors++; } @@ -188,7 +191,7 @@ static int rose_xmit(struct sk_buff *skb, struct device *dev) sti(); - kfree_skb(skb, FREE_WRITE); + kfree_skb(skb); stats->tx_errors++; |