OpenCloudOS-Kernel/net/smc
Ursula Braun 43e2ada3e0 net/smc: dev_put for netdev after usage of ib_query_gid()
For RoCEs ib_query_gid() takes a reference count on the net_device.
This reference count must be decreased by the caller.

Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Reported-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Fixes: 0cfdd8f92c ("smc: connection and link group creation")
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-12 12:20:27 -07:00
..
Kconfig net/smc: remove Kconfig warning 2017-07-29 11:22:58 -07:00
Makefile smc: netlink interface for SMC sockets 2017-01-09 16:07:41 -05:00
af_smc.c net/smc: terminate link group if out-of-sync is received 2017-09-21 15:31:03 -07:00
smc.h net/smc: introduce a delay 2017-09-21 15:31:03 -07:00
smc_cdc.c net/smc: parameter cleanup in smc_cdc_get_free_slot() 2017-09-21 15:33:03 -07:00
smc_cdc.h net/smc: parameter cleanup in smc_cdc_get_free_slot() 2017-09-21 15:33:03 -07:00
smc_clc.c net/smc: terminate link group if out-of-sync is received 2017-09-21 15:31:03 -07:00
smc_clc.h net/smc: terminate link group if out-of-sync is received 2017-09-21 15:31:03 -07:00
smc_close.c net/smc: no close wait in case of process shut down 2017-09-21 15:31:03 -07:00
smc_close.h net/smc: no socket state changes in tasklet context 2017-04-11 23:01:14 -04:00
smc_core.c net/smc: dev_put for netdev after usage of ib_query_gid() 2017-10-12 12:20:27 -07:00
smc_core.h net/smc: synchronize buffer usage with device 2017-07-29 11:22:58 -07:00
smc_diag.c smc: netlink interface for SMC sockets 2017-01-09 16:07:41 -05:00
smc_ib.c net/smc: replace function pointer get_netdev() 2017-10-12 12:20:26 -07:00
smc_ib.h net/smc: synchronize buffer usage with device 2017-07-29 11:22:58 -07:00
smc_llc.c smc: link layer control (LLC) 2017-01-09 16:07:40 -05:00
smc_llc.h smc: link layer control (LLC) 2017-01-09 16:07:40 -05:00
smc_pnet.c net/smc: adjust net_device refcount 2017-09-21 15:31:02 -07:00
smc_pnet.h net/smc: remove useless smc_ib_devices_list check 2017-04-11 23:01:14 -04:00
smc_rx.c net/smc: add receive timeout check 2017-09-21 15:31:02 -07:00
smc_rx.h smc: receive data from RMBE 2017-01-09 16:07:40 -05:00
smc_tx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-09-23 10:16:53 -07:00
smc_tx.h smc: receive data from RMBE 2017-01-09 16:07:40 -05:00
smc_wr.c net/smc: adapt send request completion notification 2017-09-21 15:31:03 -07:00
smc_wr.h net/smc: register RMB-related memory region 2017-07-29 11:22:58 -07:00