Re: [ovs-dev] [PATCH] lib/netdev-linux.c: Prevent receiving of sent packets

2013-06-13 Thread Murphy McCauley
On Jun 13, 2013, at 2:42 PM, Ben Pfaff wrote: > On Thu, Jun 13, 2013 at 04:41:37PM +0900, Simon Horman wrote: >> On Wed, Jun 12, 2013 at 07:30:44PM -0700, Murphy McCauley wrote: >>> Commit 796223f5 (netdev: Add new "struct netdev_rx" for capturing packets >>> from a netdev) refactored send and rec

Re: [ovs-dev] [PATCH] lib/netdev-linux.c: Prevent receiving of sent packets

2013-06-13 Thread Ben Pfaff
On Thu, Jun 13, 2013 at 04:41:37PM +0900, Simon Horman wrote: > On Wed, Jun 12, 2013 at 07:30:44PM -0700, Murphy McCauley wrote: > > Commit 796223f5 (netdev: Add new "struct netdev_rx" for capturing packets > > from a netdev) refactored send and receive into separate netdevs. As a > > result, send

Re: [ovs-dev] [PATCH] lib/netdev-linux.c: Prevent receiving of sent packets

2013-06-13 Thread Simon Horman
On Wed, Jun 12, 2013 at 07:30:44PM -0700, Murphy McCauley wrote: > Commit 796223f5 (netdev: Add new "struct netdev_rx" for capturing packets > from a netdev) refactored send and receive into separate netdevs. As a > result, send and receive now use different socket descriptors (except for tap > in

[ovs-dev] [PATCH] lib/netdev-linux.c: Prevent receiving of sent packets

2013-06-12 Thread Murphy McCauley
Commit 796223f5 (netdev: Add new "struct netdev_rx" for capturing packets from a netdev) refactored send and receive into separate netdevs. As a result, send and receive now use different socket descriptors (except for tap interfaces which are treated specially). An unintended side effect was tha