commit | a6832c3acdb2ceb099ec3c385777fbaa6d5a5fd6 | [log] [tgz] |
---|---|---|
author | Ursula Braun <ubraun@linux.vnet.ibm.com> | Thu Sep 21 09:16:29 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 21 15:31:02 2017 -0700 |
tree | c30c272d454dcb8d010d661aa93462e3afd8b039 | |
parent | 731b008560e6dfaf5fb297543f17bbe9bb868f3c [diff] |
net/smc: adjust net_device refcount smc_pnet_fill_entry() uses dev_get_by_name() adding a refcount to ndev. The following smc_pnet_enter() has to reduce the refcount if the entry to be added exists already in the pnet table. Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>