netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/7] net: network drivers should not depend on geneve/vxlan
@ 2016-04-18 19:19 Hannes Frederic Sowa
  2016-04-18 19:19 ` [PATCH net-next 1/7] benet: be_resume needs to protect be_open with rtnl_lock Hannes Frederic Sowa
                   ` (7 more replies)
  0 siblings, 8 replies; 19+ messages in thread
From: Hannes Frederic Sowa @ 2016-04-18 19:19 UTC (permalink / raw)
  To: netdev; +Cc: jesse

This patchset removes the dependency of network drivers on vxlan or
geneve, so those don't get autoloaded when the nic driver is loaded.

Also audited the code such that vxlan_get_rx_port and geneve_get_rx_port
are not called without rtnl lock.

Hannes Frederic Sowa (7):
  benet: be_resume needs to protect be_open with rtnl_lock
  fm10k: protect fm10k_open in fm10k_io_resume with rtnl_lock
  mlx4: protect mlx4_en_start_port in mlx4_en_restart with rtnl_lock
  ixgbe: protect vxlan_get_rx_port in ixgbe_service_task with rtnl_lock
  qlcnic: protect qlicnic_attach_func with rtnl_lock
  vxlan: break dependency with netdev drivers
  geneve: break dependency with netdev drivers

 drivers/net/ethernet/emulex/benet/be_main.c      | 10 +++++---
 drivers/net/ethernet/intel/fm10k/fm10k_pci.c     |  2 ++
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c    |  2 ++
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c   |  2 ++
 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 10 ++++++--
 drivers/net/geneve.c                             | 31 +++++++++++++++++++++---
 drivers/net/vxlan.c                              | 14 +++++++----
 include/linux/netdevice.h                        |  2 ++
 include/net/geneve.h                             |  6 ++---
 include/net/vxlan.h                              |  6 ++---
 10 files changed, 63 insertions(+), 22 deletions(-)

-- 
2.5.5

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2016-06-10 21:35 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-18 19:19 [PATCH net-next 0/7] net: network drivers should not depend on geneve/vxlan Hannes Frederic Sowa
2016-04-18 19:19 ` [PATCH net-next 1/7] benet: be_resume needs to protect be_open with rtnl_lock Hannes Frederic Sowa
2016-04-18 19:19 ` [PATCH net-next 2/7] fm10k: protect fm10k_open in fm10k_io_resume " Hannes Frederic Sowa
2016-04-18 19:19 ` [PATCH net-next 3/7] mlx4: protect mlx4_en_start_port in mlx4_en_restart " Hannes Frederic Sowa
2016-06-10 20:55   ` Eric Dumazet
2016-04-18 19:19 ` [PATCH net-next 4/7] ixgbe: protect vxlan_get_rx_port in ixgbe_service_task " Hannes Frederic Sowa
2016-06-10 21:17   ` Eric Dumazet
2016-06-10 21:33     ` Alexander Duyck
2016-06-10 21:35   ` Alexander Duyck
2016-04-18 19:19 ` [PATCH net-next 5/7] qlcnic: protect qlicnic_attach_func " Hannes Frederic Sowa
2016-04-18 19:19 ` [PATCH net-next 6/7] vxlan: break dependency with netdev drivers Hannes Frederic Sowa
2016-04-18 19:19 ` [PATCH net-next 7/7] geneve: " Hannes Frederic Sowa
2016-04-20  0:27 ` [PATCH net-next 0/7] net: network drivers should not depend on geneve/vxlan David Miller
2016-04-20  1:06   ` Hannes Frederic Sowa
2016-04-20  1:11     ` David Miller
2016-04-20  1:21       ` Hannes Frederic Sowa
2016-04-21  7:43       ` Hannes Frederic Sowa
2016-04-21 15:53         ` David Miller
2016-04-21 19:36         ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).