diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-04-28 13:58:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-30 14:58:45 +0300 |
commit | 4b143ed7dde59d8a4f94c39aa7c4e92842c3ecc1 (patch) | |
tree | fa8cf952b429b5d0e3487da7da566a4a522f9887 /tools/objtool/objtool.c | |
parent | c526fd8f9f4f21cb83c0b1c9a1ee9c0ac9be9e2e (diff) | |
download | linux-4b143ed7dde59d8a4f94c39aa7c4e92842c3ecc1.tar.xz |
ipv6: help __ip6_finish_output() inlining
There are two callers of __ip6_finish_output(), both are in
ip6_finish_output(). We can combine the call sites into one and handle
return code after, that will inline __ip6_finish_output().
Note, error handling under NET_XMIT_CN will only return 0 if
__ip6_finish_output() succeded, and in this case it return 0.
Considering that NET_XMIT_SUCCESS is 0, it'll be returning exactly the
same result for it as before.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/objtool/objtool.c')
0 files changed, 0 insertions, 0 deletions