net/mlx5e: Call vxlan_get_rx_port() with rtnl lock
authorMatthew Finlay <matt@mellanox.com>
Thu, 28 Apr 2016 22:36:31 +0000 (01:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Apr 2016 20:29:08 +0000 (16:29 -0400)
commit01a14098d3374e1b931d605da666300ee248d3d9
tree721e35041ac75221b3c2779f06309176a3c384bd
parent4b2523c180c8e5e8e02b2d518d7b1dcb4c9d98de
net/mlx5e: Call vxlan_get_rx_port() with rtnl lock

Hold the rtnl lock when calling vxlan_get_rx_port().

Fixes: b7aade15485a ("vxlan: break dependency with netdev drivers")
Signed-off-by: Matthew Finlay <matt@mellanox.com>
Reported-by: Alexander Duyck <alexander.duyck@gmail.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c