mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[IPV6]: Fix calculation of AH length during filling ancillary data.
Signed-off-by: YOSHIFUJI Hideaki <[email protected]>
This commit is contained in:
parent
8b8aa4b5a6
commit
a305989386
1 changed files with 1 additions and 1 deletions
|
|
@ -437,7 +437,7 @@ int datagram_recv_ctl(struct sock *sk, struct msghdr *msg, struct sk_buff *skb)
|
|||
break;
|
||||
case IPPROTO_AH:
|
||||
nexthdr = ptr[0];
|
||||
len = (ptr[1] + 1) << 2;
|
||||
len = (ptr[1] + 2) << 2;
|
||||
break;
|
||||
default:
|
||||
nexthdr = ptr[0];
|
||||
|
|
|
|||
Loading…
Reference in a new issue