Message ID | 20220106091350.3038869-3-steffen.klassert@secunet.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 2e1809208a4a52e883527c288b4fca61a90100b2 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [1/7] ipv6/esp6: Remove structure variables and alignment statements | expand |
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index 1a06585022ab..edc673e78114 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c @@ -3392,7 +3392,6 @@ decode_session6(struct sk_buff *skb, struct flowi *fl, bool reverse) case NEXTHDR_DEST: offset += ipv6_optlen(exthdr); nexthdr = exthdr->nexthdr; - exthdr = (struct ipv6_opt_hdr *)(nh + offset); break; case IPPROTO_UDP: case IPPROTO_UDPLITE: