Module Name: src Committed By: ozaki-r Date: Wed Jun 18 10:51:03 UTC 2014
Modified Files: src/sys/net: if_bridge.c Log Message: Restructure bridge_input and bridge_broadcast There are two changes: - Assemble the places calling pktq_enqueue (bridge_forward) for unicast and {b,m}cast frames into one - Receive {b,m}cast frames in bridge_broadcast, not in bridge_input The changes make the code clear and readable. bridge_input now doesn't need to take care of {b,m}cast frames; bridge_forward and bridge_broadcast have the responsibility. The changes are based on a patch of Lloyd Parkes submitted in PR 48104, but don't fix its issue yet. To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83 src/sys/net/if_bridge.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.