]> git.baikalelectronics.ru Git - kernel.git/commit
netconsole: remove a redundant netconsole_target_put()
authorAmerigo Wang <amwang@redhat.com>
Sat, 18 Aug 2012 07:02:20 +0000 (07:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Aug 2012 09:59:49 +0000 (02:59 -0700)
commita39df60db2f80ff7e636e58c482f07dd99ee8456
treefb06247bd4caa346a42fe3cefef16a79f27166da
parente31cf4c4e99b09ac47b0ea9a987e4f3d5d9cf9e0
netconsole: remove a redundant netconsole_target_put()

This netconsole_target_put() is obviously redundant, and it
causes a kernel segfault when removing a bridge device which has
netconsole running on it.

This is caused by:

commit d2a906bce5b025be5021ed7baab7bfab73cd7aed
Author: Amerigo Wang <amwang@redhat.com>
Date:   Thu May 19 21:39:10 2011 +0000

    netpoll: disable netpoll when enslave a device

Cc: David Miller <davem@davemloft.net>
 (for all 3.x stable releases)
Cc: stable@vger.kernel.org
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netconsole.c