Re: [RFC] let mortals use ethtool
From: David Miller <davem@davemloft.net>
Date: 2006-09-28 21:53:42
From: David Miller <davem@davemloft.net>
Date: 2006-09-28 21:53:42
From: Auke Kok <redacted> Date: Thu, 28 Sep 2006 12:56:25 -0700
PHYS_ID pokes in hardware and makes it jump through hoops, in the case of some hardware this could create a local DOS attack (e1000 suffers fromt his, probably more if not all) where the NIC might stop receiving packets, or the big lock is help indefinately. Not a good idea The other ones are fine I think.
I've applied Stephen's patch with PHYS_ID removed from the allowed list, thanks for the feedback.