[FS#24] [regression] STP does not flow over WDS links - Comment added

lede-bugs at lists.infradead.org lede-bugs at lists.infradead.org
Mon Jun 27 23:35:12 PDT 2016


The following task has a new comment added:

FS#24 - [regression] STP does not flow over WDS links 
User who did this - Gerry Rozema (grozzie2)

----------
Further on this, I have isolated the root cause, it's in most recent versions of compat-wireless.

net/wireless/util.c

line 512 is
		tmp.h_proto = htons(skb->len);

should read

		tmp.h_proto = htons(skb->len-hdrlen);

The next line, pulls hdrlen off the skb, then the skb is copied, net result is, h_proto is the wrong size, ie, to large.  Later in llc_input.c the validation checks on size for the skb fail, so it's not passed on to the stp processor.

Fixing the size in h_proto allows the frames to pass consistency checks in llc processing, and they are passed on to the stp processor in bridge code, and now bridging starts to work correctly over the wds link.





----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=24#comment72



More information about the lede-bugs mailing list