diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2011-10-11 16:08:11 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-11 09:36:27 -0800 |
commit | 18743353b3154f0ff7c29f3c5ae3a8466a70d73a (patch) | |
tree | cd647b83853135d4481a93cb1185647a2972a720 /net/ipv4 | |
parent | 89c32c14c190c6113187c7c57784695701e314e4 (diff) |
netconsole: enable netconsole can make net_device refcnt incorrent
[ Upstream commit d5123480b1d6f7d1a5fe1a13520cef88fb5d4c84 ]
There is no check if netconsole is enabled current.
so when exec echo 1 > enabled;
the reference of net_device will increment always.
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Acked-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions