]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGuangyu Sun <guangyu.sun@oracle.com>
Mon, 8 Oct 2012 17:00:07 +0000 (10:00 -0700)
commit28b02c6d3e5e3deee8d99b1497635d12fbfba485
tree1f86a6b4cd7f6d8cb7ffb73b490da57724260a5a
parent97149bc9b5b26a928099998e866e72aab1c71b63
netconsole: remove a redundant netconsole_target_put()

commit 72d3eb13b5c0abe7d63efac41f39c5b644c7bbaa upstream.

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 8d8fc29d02a33e4bd5f4fa47823c1fd386346093
Author: Amerigo Wang <amwang@redhat.com>
Date:   Thu May 19 21:39:10 2011 +0000

    netpoll: disable netpoll when enslave a device

Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
drivers/net/netconsole.c