Set up flow to drop packets that come in on their output port.
authorBen Pfaff <blp@nicira.com>
Fri, 8 Aug 2008 22:39:20 +0000 (15:39 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 8 Aug 2008 22:39:20 +0000 (15:39 -0700)
commit57fb2fe3783f534b3c530f565d21b348c253a158
tree03fc7e71b819f10d58b40a6275f512b84c5519d4
parent483624de9a1d0bb45d97e82399424400c0cad9f7
Set up flow to drop packets that come in on their output port.

Commit 0a3d4ba3a, "Don't allow the learning switch to send packets back
out the incoming port," drops packets that come in on their incoming port,
but it does not set up a flow to drop those packets.  If we are connected
to a hub, then this can be very expensive, since we can continue to get
many packets in that flow and have to drop them in secchan one by one.  So
now we set up a flow to drop them for us.
lib/learning-switch.c