From 26a8656de086b649de834a80d07fd2b9ddcb593d Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 18 May 2011 15:48:59 -0700 Subject: [PATCH] Remove code for passing STP BPDU via netlink EMC implemented a mechanism of passing BPDU via netlink that was never accepted in upstream kernel. --- brmon.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/brmon.c b/brmon.c index fb54be3..f1fb44d 100644 --- a/brmon.c +++ b/brmon.c @@ -88,14 +88,6 @@ static int dump_msg(const struct sockaddr_nl *who, struct nlmsghdr *n, if (tb[IFLA_MASTER] && af_family != AF_BRIDGE) return 0; - /* Check for BPDU */ - if (tb[IFLA_PRIORITY] && af_family == AF_BRIDGE) { - bridge_bpdu_rcv(ifi->ifi_index, - RTA_DATA(tb[IFLA_PRIORITY]), - RTA_PAYLOAD(tb[IFLA_PRIORITY])); - return 0; - } - if (tb[IFLA_IFNAME] == NULL) { fprintf(stderr, "BUG: nil ifname\n"); return -1; -- 2.47.3