From c53b942ba1926cc8c6078fa9fb658c2696e90922 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Tue, 21 Oct 2003 12:23:04 -0700 Subject: [PATCH] [IPV6]: Set fl->proto in _decode_sesseion6. --- net/ipv6/xfrm6_policy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c index 14def8d2e503d..ef4fca0306a29 100644 --- a/net/ipv6/xfrm6_policy.c +++ b/net/ipv6/xfrm6_policy.c @@ -219,6 +219,7 @@ _decode_session6(struct sk_buff *skb, struct flowi *fl) fl->fl_ip_sport = ports[0]; fl->fl_ip_dport = ports[1]; } + fl->proto = nexthdr; return; /* XXX Why are there these headers? */ @@ -227,6 +228,7 @@ _decode_session6(struct sk_buff *skb, struct flowi *fl) case IPPROTO_COMP: default: fl->fl_ipsec_spi = 0; + fl->proto = nexthdr; return; }; } -- 2.53.0