diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2011-10-11 18:08:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-19 05:55:29 +0200 |
commit | d5123480b1d6f7d1a5fe1a13520cef88fb5d4c84 (patch) | |
tree | d0037d50b26f5b0fa70640f4c459924d2417341a /kernel/kprobes.c | |
parent | bluetooth: Properly clone LSM attributes to newly created child connections (diff) | |
download | linux-d5123480b1d6f7d1a5fe1a13520cef88fb5d4c84.tar.xz linux-d5123480b1d6f7d1a5fe1a13520cef88fb5d4c84.zip |
netconsole: enable netconsole can make net_device refcnt incorrent
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>
Diffstat (limited to 'kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions