[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101210.161858.209963634.davem@davemloft.net>
Date: Fri, 10 Dec 2010 16:18:58 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: xiaosuo@...il.com, akwatts@...il.com, richardcochran@...il.com,
netdev@...r.kernel.org, stable@...nel.org
Subject: Re: kernel panic with time-stamping in phy devices (monitor mode)
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 06 Dec 2010 05:50:32 +0100
> Le lundi 06 décembre 2010 à 08:01 +0800, Changli Gao a écrit :
>
>> How about using skb_headroom(skb) < ETH_HLEN ?
>>
>
> Yes, good idea, thanks !
>
> [PATCH net-2.6] net: fix skb_defer_rx_timestamp()
>
> After commit c1f19b51d1d8 (net: support time stamping in phy devices.),
> kernel might crash if CONFIG_NETWORK_PHY_TIMESTAMPING=y and
> skb_defer_rx_timestamp() handles a packet without an ethernet header.
>
> Fixes kernel bugzilla #24102
>
> Reference: https://bugzilla.kernel.org/show_bug.cgi?id=24102
> Reported-and-tested-by: Andrew Watts <akwatts@...il.com>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied and queued up for -stable, thanks!
--
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