Xiang Gao d4e1b299ec ipv6: Use ipv6_authlen for len in ipv6_skip_exthdr
In ipv6_skip_exthdr, the lengh 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: Xiang Gao <qasdfgtyuiop@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-09-20 13:45:18 -07:00
..
2017-09-19 16:32:23 -07:00
2017-05-21 13:42:36 -04:00
2017-09-08 16:09:04 -07:00
2017-09-19 16:32:23 -07:00
2017-09-19 16:32:23 -07:00
2016-12-25 17:21:23 +01:00
2017-06-04 22:56:55 -04:00
2017-06-12 09:53:14 -04:00
2017-09-01 18:35:23 -07:00
2017-09-19 16:32:23 -07:00
2017-09-08 16:07:17 -07:00