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)
commitc9bbb75f1dffef0e6ac47abf32cdb668d5e1a867
treeaf45c06addaf6b16f748cdcc6b095f52b23cce73
parent1bc277f79260ae6f0888b1234942b6aedfff1289
can: dump stack on protocol bugs

The rework of the kernel hlist implementation "hlist: drop the node parameter
from iterators" (b67bfe0d42cac56c512dd5da4b1b347a23f4b70a) 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