Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3059893 authored by Ville Nuorvala's avatar Ville Nuorvala Committed by YOSHIFUJI Hideaki
Browse files

[IPV6]: Fix calculation of AH length during filling ancillary data.

parent 8b8aa4b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -437,7 +437,7 @@ int datagram_recv_ctl(struct sock *sk, struct msghdr *msg, struct sk_buff *skb)
				break;
				break;
			case IPPROTO_AH:
			case IPPROTO_AH:
				nexthdr = ptr[0];
				nexthdr = ptr[0];
				len = (ptr[1] + 1) << 2;
				len = (ptr[1] + 2) << 2;
				break;
				break;
			default:
			default:
				nexthdr = ptr[0];
				nexthdr = ptr[0];