mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
flow_dissect: use programable dissector in skb_flow_dissect and friends
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
fbff949e3b
commit
06635a35d1
12 changed files with 229 additions and 146 deletions
|
|
@ -1935,8 +1935,8 @@ static inline void skb_probe_transport_header(struct sk_buff *skb,
|
|||
|
||||
if (skb_transport_header_was_set(skb))
|
||||
return;
|
||||
else if (skb_flow_dissect(skb, &keys))
|
||||
skb_set_transport_header(skb, keys.thoff);
|
||||
else if (skb_flow_dissect_flow_keys(skb, &keys))
|
||||
skb_set_transport_header(skb, keys.basic.thoff);
|
||||
else
|
||||
skb_set_transport_header(skb, offset_hint);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue