]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: refactor ip6_finish_output2()
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 28 Apr 2022 10:58:48 +0000 (11:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Apr 2022 11:58:45 +0000 (12:58 +0100)
commitd40e56fc2b8dd6dd81f14bc3e32b8c2b68e50e6e
tree3ede1eed90b7a1d12d39264815720e018424af54
parentd7b413d6e97e66274507b823f3c8e1d32e3c9ab8
ipv6: refactor ip6_finish_output2()

Throw neigh checks in ip6_finish_output2() under a single slow path if,
so we don't have the overhead in the hot path.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c