]> git.baikalelectronics.ru Git - kernel.git/commit
can: dump stack on protocol bugs
authorOliver Hartkopp <socketcan@hartkopp.net>
Mon, 18 Mar 2013 07:52:06 +0000 (07:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Mar 2013 13:44:34 +0000 (09:44 -0400)
commitd5017b5028c445e9263e60eadebe8373e57b1462
treeaf45c06addaf6b16f748cdcc6b095f52b23cce73
parent8ce9de76ffbd1b68a5994328fd7c241ad53448f7
can: dump stack on protocol bugs

The rework of the kernel hlist implementation "hlist: drop the node parameter
from iterators" (bb56a4d95176448eb6e69c7f5faa79221d965cd1) created some
fallout in the form of non matching comments and obsolete code.

Additionally to the cleanup this patch adds a WARN() statement to catch the
caller of the wrong filter removal request.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/can/af_can.c