kni: set interface name source as user-space
Signed-off-by: Michał Mirosław <michal.miroslaw@atendesoftware.pl> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
parent
ee04d5197b
commit
4d0db6df1c
@ -362,8 +362,8 @@ kni_ioctl_create(struct net *net, uint32_t ioctl_num,
|
||||
up_read(&knet->kni_list_lock);
|
||||
|
||||
net_dev = alloc_netdev(sizeof(struct kni_dev), dev_info.name,
|
||||
#ifdef NET_NAME_UNKNOWN
|
||||
NET_NAME_UNKNOWN,
|
||||
#ifdef NET_NAME_USER
|
||||
NET_NAME_USER,
|
||||
#endif
|
||||
kni_net_init);
|
||||
if (net_dev == NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user