bonding: ratelimit pr_err() for bond xmit broadcast
authordingtianhong <dingtianhong@huawei.com>
Tue, 25 Mar 2014 09:00:10 +0000 (17:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Mar 2014 20:40:24 +0000 (16:40 -0400)
commit9152e26df20b9e5ffdbe0d5b96d0e9ff8b33ff31
tree47e16b3d7a6b6b63790aa032c26adab9b04271f9
parent054bb8801038c93c42cb6cde75141aa396afd065
bonding: ratelimit pr_err() for bond xmit broadcast

It may spam if the system is out of the memory, add ratelimit for it.

Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c