Skip to content

Commit 597798e

Browse files
tgrafdavem330
authored andcommitted
openvswitch: Retrieve tunnel metadata when receiving from vport-netdev
Retrieve the tunnel metadata for packets received by a net_device and provide it to ovs_vport_receive() for flow key extraction. [This hunk was in the GRE patch in the initial series and missed the cut for the initial submission for merging.] Fixes: 614732e ("openvswitch: Use regular VXLAN net_device device") Signed-off-by: Thomas Graf <[email protected]> Acked-by: Pravin B Shelar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9ece39a commit 597798e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/openvswitch/vport-netdev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static void netdev_port_receive(struct vport *vport, struct sk_buff *skb)
5858
skb_push(skb, ETH_HLEN);
5959
ovs_skb_postpush_rcsum(skb, skb->data, ETH_HLEN);
6060

61-
ovs_vport_receive(vport, skb, NULL);
61+
ovs_vport_receive(vport, skb, skb_tunnel_info(skb, AF_INET));
6262
return;
6363

6464
error:

0 commit comments

Comments
 (0)