]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: ratelimit pr_warn()s in 802.3ad mode
authorVeaceslav Falico <vfalico@redhat.com>
Sun, 16 Mar 2014 16:55:03 +0000 (17:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Mar 2014 18:50:48 +0000 (14:50 -0400)
commit151e4eb8df560afcfdc3a98cb0cf27bbcaf3210c
tree527fcb4c4d2f00a669fa88f811b8c911368d8ef0
parent996c5e3e8a01b3c914c127a905bf0cd12265c3e6
bonding: ratelimit pr_warn()s in 802.3ad mode

Only ratelimit the ones that might spam, omiting the ones from
enslave/deslave.

CC: Jay Vosburgh <fubar@us.ibm.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c