commit | c846ad9b880ece01bb4d8d07ba917734edf0324f | [log] [tgz] |
---|---|---|
author | Ben Greear <greearb@candelatech.com> | Fri Apr 19 10:45:52 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 19 17:57:49 2013 -0400 |
tree | 93c3e6e09b134a53d0c9f696d1a7ca3a5f438e3a | |
parent | b261c20fe089859cc43642e7006921498327fe3d [diff] |
net: rate-limit warn-bad-offload splats. If one does do something unfortunate and allow a bad offload bug into the kernel, this the skb_warn_bad_offload can effectively live-lock the system, filling the logs with the same error over and over. Add rate limitation to this so that box remains otherwise functional in this case. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: David S. Miller <davem@davemloft.net>