Re: [PATCH net] tun: forbid iface creation with rtnl ops

2018-11-30 Thread David Miller
From: Nicolas Dichtel Date: Thu, 29 Nov 2018 14:45:39 +0100 > It's not supported right now (the goal of the initial patch was to support > 'ip link del' only). > > Before the patch: > $ ip link add foo type tun > [ 239.632660] BUG: unable to handle kernel NULL pointer dereference at >

[PATCH net] tun: forbid iface creation with rtnl ops

2018-11-29 Thread Nicolas Dichtel
It's not supported right now (the goal of the initial patch was to support 'ip link del' only). Before the patch: $ ip link add foo type tun [ 239.632660] BUG: unable to handle kernel NULL pointer dereference at [snip] [ 239.636410] RIP: 0010:register_netdevice+0x8e/0x3a0