mrp: add periodictimer to allow retries when packets get lost
authorNoel Burton-Krahn <noel@burton-krahn.com>
Wed, 18 Sep 2013 19:24:40 +0000 (12:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Sep 2013 20:53:52 +0000 (16:53 -0400)
commit9fe34f5d920b183ec063550e0f4ec854aa373316
treeece6e10648809dc2aa87e434b3c7b0f3b0dea0d0
parenta224bd36bf5ccc72d0f12ab11216706762133177
mrp: add periodictimer to allow retries when packets get lost

MRP doesn't implement the periodictimer in 802.1Q, so it never retries
if packets get lost.  I ran into this problem when MRP sent a MVRP
JoinIn before the interface was fully up.  The JoinIn was lost, MRP
didn't retry, and MVRP registration failed.

Tested against Juniper QFabric switches

Signed-off-by: Noel Burton-Krahn <noel@burton-krahn.com>
Acked-by: David Ward <david.ward@ll.mit.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/mrp.h
net/802/mrp.c