diff options
author | Eric Dumazet <edumazet@google.com> | 2023-10-05 14:45:04 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-07 02:29:08 +0300 |
commit | 48533eca606efcf63ef4080ded5618e0b17ee3d7 (patch) | |
tree | 6d8d31948a88e1b196c2b631b20f5d2a5af98197 /arch/microblaze/include | |
parent | a1fb841f9d189d257814562dacb3d65667f2a9c3 (diff) | |
download | linux-48533eca606efcf63ef4080ded5618e0b17ee3d7.tar.xz |
net: sock_dequeue_err_skb() optimization
Exit early if the list is empty.
Some applications using TCP zerocopy are calling
recvmsg( ... MSG_ERRQUEUE) and hit this case quite often,
probably because busy polling only deals with sk_receive_queue.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20231005114504.642589-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'arch/microblaze/include')
0 files changed, 0 insertions, 0 deletions