diff options
author | Tom Herbert <tom@herbertland.com> | 2015-06-04 09:16:38 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-04 15:44:30 -0700 |
commit | c468efe2c7d478bad8855f7d170cf245ee0f1b3f (patch) | |
tree | 8d621a6dcb1632c44b7d3b48b5b0a14b9b74036e /net | |
parent | 730fc4371333636a00fed32c587fc1e85c5367e2 (diff) | |
download | op-kernel-dev-c468efe2c7d478bad8855f7d170cf245ee0f1b3f.zip op-kernel-dev-c468efe2c7d478bad8855f7d170cf245ee0f1b3f.tar.gz |
net: Remove superfluous setting of key_basic
key_basic is set twice in __skb_flow_dissect which seems unnecessary.
Remove second one.
Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/flow_dissector.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c index 7f69916..0763795 100644 --- a/net/core/flow_dissector.c +++ b/net/core/flow_dissector.c @@ -343,12 +343,6 @@ flow_label: break; } - /* It is ensured by skb_flow_dissector_init() that basic key will - * be always present. - */ - key_basic = skb_flow_dissector_target(flow_dissector, - FLOW_DISSECTOR_KEY_BASIC, - target_container); key_basic->n_proto = proto; key_basic->ip_proto = ip_proto; key_basic->thoff = (u16) nhoff; |