At one time, BPDUs were being received through netlink using a kernel
patch. We now receive and send BPDUs through PF_PACKET sockets, so this
code is not needed anymore.
Signed-off-by: Srinivas Aji <Aji_Srinivas@emc.com>
if (tb[IFLA_MASTER] && af_family != AF_BRIDGE)
return 0;
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;
if (tb[IFLA_IFNAME] == NULL) {
fprintf(stderr, "BUG: nil ifname\n");
return -1;