udp6: shuffle up->pending AF_INET bits
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 27 Jan 2022 00:36:23 +0000 (00:36 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 28 Jan 2022 03:46:10 +0000 (19:46 -0800)
commit406c4a0af010b8714d18e4c89de5575e1d3888f8
tree379ef5bf46839a0106b2e17a0aa24266871f711b
parentcd3c748077365dde89f2a3da738ce556fd04b0a3
udp6: shuffle up->pending AF_INET bits

Corked AF_INET for ipv6 socket doesn't appear to be the hottest case,
so move it out of the common path under up->pending check to remove
overhead.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/udp.c