| To: | Simon Roscic <simon.roscic@xxxxxxxxx> |
|---|---|
| Subject: | Re: Fwd: [2.6] ethertap and af_inet.c assertion failures |
| From: | Tommy Christensen <tommy.christensen@xxxxxxxxx> |
| Date: | Tue, 11 Jan 2005 22:26:14 +0100 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <200412240002.13206.simon.roscic@xxxxxxxxx> |
| References: | <200412240002.13206.simon.roscic@xxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 |
Simon Roscic wrote: hi, today i upgraded my kernel from 2.6.9-rc2 to 2.6.10-rc3-bk12, now i get the following assertion failures while using the (closed source) phion vpn client, the vpn client uses ethertap, there are no closed source kernel modules or the like: KERNEL: assertion (!atomic_read(&sk->sk_wmem_alloc)) failed at net/ipv4/af_inet.c (150) netlink has messed up the send buffer accounting, when trimming a skb. Patch below should fix this for ethertap. Could you give it a try? -Tommy --- linux-2.6.10-bk14/drivers/net/ethertap.c 2004-12-24 22:34:26.000000000
+0100
+++ linux-2.6.10-work/drivers/net/ethertap.c 2005-01-11 22:18:19.113295324
+0100
@@ -207,8 +207,8 @@
return 0;
}
dev_kfree_skb(skb2);
- }
- /* ... but do not orphan it here, netlink does it in any case. */
+ } else
+ skb_orphan(skb);
lp->stats.tx_bytes+=skb->len;
lp->stats.tx_packets++;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH bk-2.6.10] tg3:align IP headers from 5701 in PCI-X mode, Arthur D. Kepner |
|---|---|
| Next by Date: | Re: request_module while holding rtnl semaphore, Patrick McHardy |
| Previous by Thread: | [PATCH] (2/2) skfddi: netdev_priv and cast cleanup, Stephen Hemminger |
| Next by Thread: | Re: Fwd: [2.6] ethertap and af_inet.c assertion failures, Simon Roscic |
| Indexes: | [Date] [Thread] [Top] [All Lists] |