From: Stephen Hemminger Date: Wed, 18 May 2011 22:48:59 +0000 (-0700) Subject: Remove code for passing STP BPDU via netlink X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=26a8656de086b649de834a80d07fd2b9ddcb593d;p=people%2Fms%2Frstp.git Remove code for passing STP BPDU via netlink EMC implemented a mechanism of passing BPDU via netlink that was never accepted in upstream kernel. --- 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;