]> Git Repo - linux.git/commit
netconsole: enable netconsole can make net_device refcnt incorrent
authorGao feng <[email protected]>
Tue, 11 Oct 2011 16:08:11 +0000 (16:08 +0000)
committerDavid S. Miller <[email protected]>
Wed, 19 Oct 2011 03:55:29 +0000 (23:55 -0400)
commitd5123480b1d6f7d1a5fe1a13520cef88fb5d4c84
treed0037d50b26f5b0fa70640f4c459924d2417341a
parent6230c9b4f8957c8938ee4cf2d03166d3c2dc89de
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 <[email protected]>
Acked-by: Flavio Leitner <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/netconsole.c
This page took 0.051382 seconds and 4 git commands to generate.