Skip to content

Commit d966087

Browse files
borkmannMartin KaFai Lau
authored and
Martin KaFai Lau
committed
netkit: Disable netpoll support
Follow-up to 45160ce ("net: veth: Disable netpoll support") to also disable netpoll for netkit interfaces. Same conditions apply here as well. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Cc: Breno Leitao <leitao@debian.org> Cc: Nikolay Aleksandrov <razor@blackwall.org> Acked-by: Nikolay Aleksandrov <razor@blackwall.org> Reviewed-by: Breno Leitao <leitao@debian.org> Link: https://lore.kernel.org/r/eab2d69ba2f4c260aef62e4ff0d803e9f60c2c5d.1724414250.git.daniel@iogearbox.net Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
1 parent f8fdda9 commit d966087

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/netkit.c

+1
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ static void netkit_setup(struct net_device *dev)
255255
dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
256256
dev->priv_flags |= IFF_PHONY_HEADROOM;
257257
dev->priv_flags |= IFF_NO_QUEUE;
258+
dev->priv_flags |= IFF_DISABLE_NETPOLL;
258259

259260
dev->ethtool_ops = &netkit_ethtool_ops;
260261
dev->netdev_ops = &netkit_netdev_ops;

0 commit comments

Comments
 (0)