]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe78b57462109cf628941522ecf13a1797bb7595
tree47e16b3d7a6b6b63790aa032c26adab9b04271f9
parenta13550eb19b49e5034c6c6fce1dd6c72d411c36c
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