>> It isn't clear to me though why the Linux userspace mode does not behave
>> the same way though.  I had a (very) brief look at the way PF_PACKET is
>> handled in Linux and it seemed like the packet would still be passed up
>> the stack -- there must be something else that I'm missing.
>
> Linux appears to have a special case such that a packet will never be
> delivered back to the socket from which it originates via the network
> tap interface, see dev_queue_xmit_nit() in net/core/dev.c:

That looks to me like it should address the transmit case, avoiding
duplicate handling of a packet transmitted by Open vSwitch - I don't
see how the receive case (from the physical network) is handled.

-Ed
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to