Re: [PATCH] ipv6: Use ipv6_authlen for len

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: yangxingwu <xingwu.yang@xxxxxxxxx>
Date: Wed, 10 Jul 2019 21:14:10 +0800

> 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@xxxxxxxxx>

Applied.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux