Re: [ovs-dev] [PATCH 1/2] netdev: Reject empty names in netdev_open().

2017-02-03 Thread Andy Zhou
On Fri, Feb 3, 2017 at 9:06 AM, Ben Pfaff wrote: > The empty string is not a valid name for a network device. I would have > expected that each of the netdev provider implementations would reject an > empty string, but there was a special case for Linux tap devices where they > instead caused une

Re: [ovs-dev] [PATCH 1/2] netdev: Reject empty names in netdev_open().

2017-02-03 Thread Girish Moodalbail
On 2/3/17 9:06 AM, Ben Pfaff wrote: The empty string is not a valid name for a network device. I would have expected that each of the netdev provider implementations would reject an empty string, but there was a special case for Linux tap devices where they instead caused unexpected behavior. T

[ovs-dev] [PATCH 1/2] netdev: Reject empty names in netdev_open().

2017-02-03 Thread Ben Pfaff
The empty string is not a valid name for a network device. I would have expected that each of the netdev provider implementations would reject an empty string, but there was a special case for Linux tap devices where they instead caused unexpected behavior. This commit should fix the problem for