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)
commit86a2b9cfccea1fb1fcb16a549ccddfe40be391d1
tree527fcb4c4d2f00a669fa88f811b8c911368d8ef0
parentd37d8ac17d38d389375060416ceedd5b19d5255c
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