[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091028.040232.174448648.davem@davemloft.net>
Date: Wed, 28 Oct 2009 04:02:32 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: andy@...yhouse.net
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] net: sysfs: ethtool_ops can be NULL
From: Andy Gospodarek <andy@...yhouse.net>
Date: Mon, 26 Oct 2009 09:40:33 -0400
> On Mon, Oct 26, 2009 at 12:23:33PM +0100, Eric Dumazet wrote:
>> commit d519e17e2d01a0ee9abe083019532061b4438065
>> (net: export device speed and duplex via sysfs)
>> made the wrong assumption that netdev->ethtool_ops was always set.
>>
>> This makes possible to crash kernel and let rtnl in locked state.
>>
>> modprobe dummy
>> ip link set dummy0 up
>> (udev runs and crash)
>>
>> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
...
> Nice catch, Eric.
>
> Acked-by: Andy Gospodarek <andy@...yhouse.net>
Applied.
--
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