mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-05 22:12:16 +00:00
openvswitch: Remove egress_tun_info.
tun info is passed using skb-dst pointer. Now we have converted all vports to netdev based implementation so Now we can remove redundant pointer to tun-info from OVS_CB. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
24d43f32d8
commit
3eedb41fb4
8 changed files with 7 additions and 20 deletions
|
@ -896,10 +896,6 @@ static int execute_set_action(struct sk_buff *skb,
|
|||
skb_dst_drop(skb);
|
||||
dst_hold((struct dst_entry *)tun->tun_dst);
|
||||
skb_dst_set(skb, (struct dst_entry *)tun->tun_dst);
|
||||
|
||||
/* FIXME: Remove when all vports have been converted */
|
||||
OVS_CB(skb)->egress_tun_info = &tun->tun_dst->u.tun_info;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1159,7 +1155,6 @@ int ovs_execute_actions(struct datapath *dp, struct sk_buff *skb,
|
|||
int err;
|
||||
|
||||
this_cpu_inc(exec_actions_level);
|
||||
OVS_CB(skb)->egress_tun_info = NULL;
|
||||
err = do_execute_actions(dp, skb, key,
|
||||
acts->actions, acts->actions_len);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue