summaryrefslogtreecommitdiffstats
path: root/include/net/mrp.h
diff options
context:
space:
mode:
authorNoel Burton-Krahn <noel@burton-krahn.com>2013-09-18 12:24:40 -0700
committerDavid S. Miller <davem@davemloft.net>2013-09-23 16:53:52 -0400
commit9fe34f5d920b183ec063550e0f4ec854aa373316 (patch)
treeece6e10648809dc2aa87e434b3c7b0f3b0dea0d0 /include/net/mrp.h
parenta224bd36bf5ccc72d0f12ab11216706762133177 (diff)
downloadop-kernel-dev-9fe34f5d920b183ec063550e0f4ec854aa373316.zip
op-kernel-dev-9fe34f5d920b183ec063550e0f4ec854aa373316.tar.gz
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>
Diffstat (limited to 'include/net/mrp.h')
-rw-r--r--include/net/mrp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/mrp.h b/include/net/mrp.h
index 4fbf02a..0f7558b 100644
--- a/include/net/mrp.h
+++ b/include/net/mrp.h
@@ -112,6 +112,7 @@ struct mrp_applicant {
struct mrp_application *app;
struct net_device *dev;
struct timer_list join_timer;
+ struct timer_list periodic_timer;
spinlock_t lock;
struct sk_buff_head queue;
OpenPOWER on IntegriCloud