Displaying 1 result from an estimated 1 matches for "prev_port".
Did you mean:
prev_part
2007 Apr 18
1
[Bridge] [BUG/PATCH/RFC] bridge: locally generated broadcast traffic may block sender
...e them to
its ports. Regard the copy loop br_flood() in br_forward.c.
It has two modes of operation, selected by a "clone" flag.
For distributing locally generated traffic, br_flood() is called in the
mode "clone=0". This mode works like this:
/* deliver this: */
sk_buff* skb;
prev_port=NULL;
port=tail of bridge port list;
while (port) {
if (prev_port != NULL) {
deliver (prev_port, skb_clone (skb));
}
prev_port = port;
port = next bridge port in list;
}
if (prev_port) {
deliver (prev_port, skb);
return;
}
kfree_skb (skb);
This results in clones...