On Tue, 2014-01-07 at 17:29 +0200, Or Gerlitz wrote:
Add gro handlers for vxlan using the udp gro infrastructure
quoted hunk ↗ jump to hunk
static void vxlan_notify_add_rx_port(struct sock *sk)
{@@ -568,6 +661,8 @@ static void vxlan_notify_add_rx_port(struct sock *sk)
dev->netdev_ops->ndo_add_vxlan_port(dev, sa_family,
port);
}
+ if (sa_family == AF_INET)
+ udp_add_offload(&vxlan_offload, port);
rcu_read_unlock();
}
This means two vxlan tunnels can not share same port.
Is that a valid assertion ?