mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 06:14:39 +01:00
netkit: Disable netpoll support
Follow-up to 45160cebd6 ("net: veth: Disable netpoll support") to
also disable netpoll for netkit interfaces. Same conditions apply
here as well.
Signed-off-by: Daniel Borkmann <[email protected]>
Cc: Breno Leitao <[email protected]>
Cc: Nikolay Aleksandrov <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Reviewed-by: Breno Leitao <[email protected]>
Link: https://lore.kernel.org/r/eab2d69ba2f4c260aef62e4ff0d803e9f60c2c5d.1724414250.git.daniel@iogearbox.net
Signed-off-by: Martin KaFai Lau <[email protected]>
This commit is contained in:
1 parent
f8fdda9e4f
commit
d966087948
1 file changed
+1
@@ -255,6 +255,7 @@ static void netkit_setup(struct net_device *dev)
|
||||
dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
|
||||
dev->priv_flags |= IFF_PHONY_HEADROOM;
|
||||
dev->priv_flags |= IFF_NO_QUEUE;
|
||||
dev->priv_flags |= IFF_DISABLE_NETPOLL;
|
||||
|
||||
dev->ethtool_ops = &netkit_ethtool_ops;
|
||||
dev->netdev_ops = &netkit_netdev_ops;
|
||||
|
||||
Reference in new issue
Block a user