Commit c53b942b authored by David S. Miller's avatar David S. Miller

[IPV6]: Set fl->proto in _decode_sesseion6.

parent d2cf3bd5
...@@ -219,6 +219,7 @@ _decode_session6(struct sk_buff *skb, struct flowi *fl) ...@@ -219,6 +219,7 @@ _decode_session6(struct sk_buff *skb, struct flowi *fl)
fl->fl_ip_sport = ports[0]; fl->fl_ip_sport = ports[0];
fl->fl_ip_dport = ports[1]; fl->fl_ip_dport = ports[1];
} }
fl->proto = nexthdr;
return; return;
/* XXX Why are there these headers? */ /* XXX Why are there these headers? */
...@@ -227,6 +228,7 @@ _decode_session6(struct sk_buff *skb, struct flowi *fl) ...@@ -227,6 +228,7 @@ _decode_session6(struct sk_buff *skb, struct flowi *fl)
case IPPROTO_COMP: case IPPROTO_COMP:
default: default:
fl->fl_ipsec_spi = 0; fl->fl_ipsec_spi = 0;
fl->proto = nexthdr;
return; return;
}; };
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment