summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2011-05-18 15:48:59 -0700
committerStephen Hemminger <shemminger@vyatta.com>2011-05-18 15:48:59 -0700
commit26a8656de086b649de834a80d07fd2b9ddcb593d (patch)
treed5722cbbdc9086e415ed8b76dbd0542c720c2df5
parent4af1be45c4be855c1053a11dd9d631f7d3c7700f (diff)
downloadrstp-26a8656de086b649de834a80d07fd2b9ddcb593d.tar.gz
Remove code for passing STP BPDU via netlink
EMC implemented a mechanism of passing BPDU via netlink that was never accepted in upstream kernel.
-rw-r--r--brmon.c8
1 files changed, 0 insertions, 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;