projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0ee011
)
[BRIDGE]: random extra bytes on STP TCN packet
author
Stephen Hemminger
<shemminger@osdl.org>
Thu, 14 Sep 2006 03:12:40 +0000
(20:12 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Mon, 18 Sep 2006 06:21:08 +0000
(23:21 -0700)
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>
net/bridge/br_stp_bpdu.c
patch
|
blob
|
history
diff --git
a/net/bridge/br_stp_bpdu.c
b/net/bridge/br_stp_bpdu.c
index a7ba0cce0b4658738e170a5ee2d11ed64414c407..068d8afbf0a79896eadadbddf4e19c15d56da288 100644
(file)
--- a/
net/bridge/br_stp_bpdu.c
+++ b/
net/bridge/br_stp_bpdu.c
@@
-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
);
}
/*