summaryrefslogtreecommitdiff
path: root/drivers/net/slip
diff options
context:
space:
mode:
authorLiang Chen <liangchen.linux@gmail.com>2023-08-24 15:31:31 +0300
committerJakub Kicinski <kuba@kernel.org>2023-08-26 04:52:11 +0300
commit215eb9f962091ebaab96be2c18cf5d0f5174a4d6 (patch)
treedc415f7b9179259e12e6e044d215fb826d7d81b5 /drivers/net/slip
parentbebfbf07c7db7321e26b6aae0d7078d3d1294464 (diff)
downloadlinux-215eb9f962091ebaab96be2c18cf5d0f5174a4d6.tar.xz
veth: Avoid NAPI scheduling on failed SKB forwarding
When an skb fails to be forwarded to the peer(e.g., skb data buffer length exceeds MTU), it will not be added to the peer's receive queue. Therefore, we should schedule the peer's NAPI poll function only when skb forwarding is successful to avoid unnecessary overhead. Signed-off-by: Liang Chen <liangchen.linux@gmail.com> Link: https://lore.kernel.org/r/20230824123131.7673-1-liangchen.linux@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/slip')
0 files changed, 0 insertions, 0 deletions