]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/core/dev.c
net: ingress filter message limit
authorStephen Hemminger <shemminger@vyatta.com>
Sun, 1 Aug 2010 07:33:23 +0000 (00:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Aug 2010 07:33:23 +0000 (00:33 -0700)
commitde38483010bae523f533bb6bf9f7b7353772f6eb
treeee31326ffb81541496ca960a9fbfa8a92a13d26c
parente2e0c7c9ddbe6b79fe647aca5eea3a405d38ada4
net: ingress filter message limit

If user misconfigures ingress and causes a redirection loop, don't
overwhelm the log.  This is also a error case so make it unlikely.
Found by inspection, luckily not in real system.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c