diff options
author | Nikolay Aleksandrov <nikolay@redhat.com> | 2013-10-23 15:28:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-25 19:03:39 -0400 |
commit | 974daef7f8bb5d7be78fae3a240fcce43cae0135 (patch) | |
tree | 62e916f9e527b96395f7eb549f18410d62ab9b0e /net/dsa | |
parent | 4a3ad7b3eade08ad1c760aaa4fe06a36f2584939 (diff) | |
download | op-kernel-dev-974daef7f8bb5d7be78fae3a240fcce43cae0135.zip op-kernel-dev-974daef7f8bb5d7be78fae3a240fcce43cae0135.tar.gz |
net: add missing dev_put() in __netdev_adjacent_dev_insert
I think that a dev_put() is needed in the error path to preserve the
proper dev refcount.
CC: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Acked-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions