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)
commit58f71be58b8713e41f8568938a0199190f723d1d
tree3ede1eed90b7a1d12d39264815720e018424af54
parent4b143ed7dde59d8a4f94c39aa7c4e92842c3ecc1
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