| To: | Julian Anastasov <ja@xxxxxx> |
|---|---|
| Subject: | Re: tunnel xmit and h.raw |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Tue, 7 Oct 2003 08:32:37 -0700 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <Pine.LNX.4.44.0310030252070.1394-100000@u.domain.uli> |
| References: | <Pine.LNX.4.44.0310030252070.1394-100000@u.domain.uli> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Fri, 3 Oct 2003 03:00:27 +0300 (EEST) Julian Anastasov <ja@xxxxxx> wrote: > # -------------------------------------------- > # 03/10/03 ja@xxxxxx 1.1357 > # [IPV4/IPV6]: tunnel xmit must load skb->h.raw after all reallocations > # -------------------------------------------- I've applied this, it is absolutely correct. While studying this I've discovered some deeper problems. The skb_shared() checks in these tunnel drivers is bogus, on transmit skb->users should never ever be anything but 1. Besides the tunnel drivers, the loopback driver and ipmr.c do similar things in their ->hard_start_xmit() handlers. In particular, the ipmr.c case is really in bad shape. I've put fixing this onto the todo list... |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] spinlock badness in last dongle changes., David S. Miller |
|---|---|
| Next by Date: | Re: [PATCH/RFC] Let {ip,arp}tables "see" bridged VLAN tagged {I,AR}P packets, Stephen Hemminger |
| Previous by Thread: | Re: tunnel xmit and h.raw, Mika Penttilä |
| Next by Thread: | [e1000 2.6] hang on ZEROCOPY/TSO when hitting no-Tx-resources condition, Feldman, Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |