[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100801.010337.68133932.davem@davemloft.net>
Date: Sun, 01 Aug 2010 01:03:37 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: socketcan@...tkopp.net
Cc: eric.dumazet@...il.com, patrick.ohly@...el.com,
netdev@...r.kernel.org, socketcan-core@...ts.berlios.de,
matthias.fuchs@....eu
Subject: Re: [PATCH] can-raw: Fix skb_orphan_try handling
From: Oliver Hartkopp <socketcan@...tkopp.net>
Date: Fri, 30 Jul 2010 11:44:27 +0200
> Hello Eric, hello Patrick,
>
> Commit fc6055a5ba31e2c14e36e8939f9bf2b6d586a7f5 (net: Introduce
> skb_orphan_try()) allows an early orphan of the skb and takes care on
> tx timestamping, which needs the sk-reference in the skb on driver level.
> So does the can-raw socket, which has not been taken into account here.
>
> The patch below adds a 'prevent_sk_orphan' bit in the skb tx shared info,
> which fixes the problem discovered by Matthias Fuchs here:
>
> http://marc.info/?t=128030411900003&r=1&w=2
Your patch sets this new value, but I never see it getting tested anywhere.
How does this work?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists