Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdev: Reject empty names in netdev_open().
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 those devices and every other kind. Reported-by: Gabor Locsei <[email protected]> Reported-at: https://mail.openvswitch.org/pipermail/ovs-discuss/2017-February/043613.html Signed-off-by: Ben Pfaff <[email protected]> Acked-by: Girish Moodalbail <[email protected]> Acked-by: Andy Zhou <[email protected]>
- Loading branch information