Thread (7 messages) flat view 7 messages, 5 authors, 2011-02-14

Re: [PATCH v2] core: dev: don't call BUG() on bad input

From: David Miller <davem@davemloft.net>
Date: 2011-02-14 19:24:48
Also in: lkml

From: Vasiliy Kulikov <redacted>
Date: Mon, 14 Feb 2011 18:23:10 +0300
On Mon, Feb 14, 2011 at 17:16 +0200, Alexey Dobriyan wrote:
quoted
Netdevice name isn't some random junk you get from userspace, so BUG is fine.
It IS for bluetooth, see net/bluetooth/bnep/core.c: bnep_add_connection() and
net/bluetooth/bnep/sock.c: bnep_sock_ioctl(). 
If bluetooth wants to allow something so foolish, then it's bluetooth's
responsibility to sanity check the arguments before blinding passing
them into kernel APIs which expect sane inputs.

I'm not applying this.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help