[BRIDGE]: random extra bytes on STP TCN packet
We seem to send 3 extra bytes in a TCN, which will be whatever happens to be on the stack. Thanks to Aji_Srinivas@emc.com for seeing. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d0ee011f72
commit
485c2967d6
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ void br_send_tcn_bpdu(struct net_bridge_port *p)
|
|||
buf[1] = 0;
|
||||
buf[2] = 0;
|
||||
buf[3] = BPDU_TYPE_TCN;
|
||||
br_send_bpdu(p, buf, 7);
|
||||
br_send_bpdu(p, buf, 4);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue