mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-17 20:54:10 +00:00
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>
This commit is contained in:
parent
730fc43713
commit
c468efe2c7
1 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue