diff options
author | Tom Herbert | 2015-09-01 18:24:27 +0200 |
---|---|---|
committer | David S. Miller | 2015-09-02 00:06:22 +0200 |
commit | cd79a2382aa5dcefa6e21a7c59bb1bb19e53b74d (patch) | |
tree | c252b8dd90eddc8d635356e8b394bd455cac51c0 /drivers/net/ethernet/cisco | |
parent | flow_dissector: Jump to exit code in __skb_flow_dissect (diff) | |
download | kernel-qcow2-linux-cd79a2382aa5dcefa6e21a7c59bb1bb19e53b74d.tar.gz kernel-qcow2-linux-cd79a2382aa5dcefa6e21a7c59bb1bb19e53b74d.tar.xz kernel-qcow2-linux-cd79a2382aa5dcefa6e21a7c59bb1bb19e53b74d.zip |
flow_dissector: Add flags argument to skb_flow_dissector functions
The flags argument will allow control of the dissection process (for
instance whether to parse beyond L3).
Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cisco')
-rw-r--r-- | drivers/net/ethernet/cisco/enic/enic_clsf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cisco/enic/enic_clsf.c b/drivers/net/ethernet/cisco/enic/enic_clsf.c index d106186f4f4a..3c677ed3c29e 100644 --- a/drivers/net/ethernet/cisco/enic/enic_clsf.c +++ b/drivers/net/ethernet/cisco/enic/enic_clsf.c @@ -177,7 +177,7 @@ int enic_rx_flow_steer(struct net_device *dev, const struct sk_buff *skb, int res, i; enic = netdev_priv(dev); - res = skb_flow_dissect_flow_keys(skb, &keys); + res = skb_flow_dissect_flow_keys(skb, &keys, 0); if (!res || keys.basic.n_proto != htons(ETH_P_IP) || (keys.basic.ip_proto != IPPROTO_TCP && keys.basic.ip_proto != IPPROTO_UDP)) |