diff options
author | Breno Leitao <leitao@debian.org> | 2024-08-05 02:40:11 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-06 12:18:30 -0700 |
commit | 45160cebd6ac84fe8cc2b7f6fec2550398e144cd (patch) | |
tree | 523fc48382acaf1bd4e7816e7d4aa2d8adadbfa6 /net/ipv4/tcp_timer.c | |
parent | edfa53dd617f682cb43a1488bf08aca9a3e4236c (diff) | |
download | linux-45160cebd6ac84fe8cc2b7f6fec2550398e144cd.tar.gz linux-45160cebd6ac84fe8cc2b7f6fec2550398e144cd.tar.bz2 linux-45160cebd6ac84fe8cc2b7f6fec2550398e144cd.zip |
net: veth: Disable netpoll support
The current implementation of netpoll in veth devices leads to
suboptimal behavior, as it triggers warnings due to the invocation of
__netif_rx() within a softirq context. This is not compliant with
expected practices, as __netif_rx() has the following statement:
lockdep_assert_once(hardirq_count() | softirq_count());
Given that veth devices typically do not benefit from the
functionalities provided by netpoll, Disable netpoll for veth
interfaces.
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20240805094012.1843247-1-leitao@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions