bridge: random extra bytes on STP TCN packet
Subsystems (3)
PATCH 1/1 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 [email protected] for seeing.
Signed-off-by Stephen Hemminger <[email protected]>
net/bridge/br_stp_bpdu.c +1 -1
@@ -121,7 +121,7 @@ buf[1 ] =0 ; buf[2 ] =0 ; buf[3 ] =BPDU_TYPE_TCN ; -br_send_bpdu (p, buf,7 ); +br_send_bpdu (p, buf,4 ); }/*