summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authoryangxingwu <xingwu.yang@gmail.com>2019-07-10 16:14:10 +0300
committerDavid S. Miller <davem@davemloft.net>2019-07-12 00:43:25 +0300
commit416e8126a2672f6e91e9e81c6f5c07cf46808b13 (patch)
tree022663d29eb3e3629f3004d2b02c72deb2e89209 /.clang-format
parent311633b604063a8a5d3fbc74d0565b42df721f68 (diff)
downloadlinux-416e8126a2672f6e91e9e81c6f5c07cf46808b13.tar.xz
ipv6: Use ipv6_authlen for len
The length of AH header is computed manually as (hp->hdrlen+2)<<2. However, in include/linux/ipv6.h, a macro named ipv6_authlen is already defined for exactly the same job. This commit replaces the manual computation code with the macro. Signed-off-by: yangxingwu <xingwu.yang@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions