commit | 68ac9ab339783119e6a8cabfafcd9479094529b0 | [log] [tgz] |
---|---|---|
author | Atzm Watanabe <atzm@stratosphere.co.jp> | Wed Oct 01 14:47:50 2014 +0900 |
committer | Stephen Hemminger <shemming@brocade.com> | Thu Oct 09 08:24:01 2014 -0700 |
tree | be465e529d84ec964030a7edcd5a043f86f37681 | |
parent | ae0d90737c1d5d2d86112420e0bd3d87aebad706 [diff] |
iplink: do not require assigning negative ifindex at link creation Since commit 3c682146aeff, iplink requires assigning negative ifindex (-1) to the kernel when creating interface without specifying index. v2: checking whether index is -1, suggested by Cong Wang. Cc: Cong Wang <cwang@twopensource.com> Signed-off-by: Atzm Watanabe <atzm@stratosphere.co.jp> Acked-by: Cong Wang <cwang@twopensource.com>