]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: batman-adv: Don't inform about dropped packets in nodebug
authorSven Eckelmann <sven.eckelmann@gmx.de>
Sat, 4 Sep 2010 23:58:37 +0000 (01:58 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 5 Sep 2010 07:29:50 +0000 (00:29 -0700)
commit2b30d6a026e6f813a615b9434b34bfe51f7c703f
treef8eb7128981cd281470eda9456226b30dcda8fc0
parentae0bd3c4430d4ec43eb4cd4100aa403c8a2f9df8
Staging: batman-adv: Don't inform about dropped packets in nodebug

Information about dropped packets are usually only interesting for
debugging purposes and otherwise open the possibility to flood the logs
of the target machine with useless information.

pr_debug will not output those information on a nodebug kernel.

Reported-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/routing.c
drivers/staging/batman-adv/vis.c