sunvnet: Invoke SET_NETDEV_DEV() to set up the vdev in vnet_new()
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Fri, 18 Sep 2015 21:47:55 +0000 (17:47 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2015 23:28:36 +0000 (16:28 -0700)
commit4c5d283acc997a1bd7bc37cddcf7d284521cffff
treef595db8535cd9f373f7302a88689b005600737b2
parent5eb8f289ac3020a9abad1c3c532ceca83284b6ed
sunvnet: Invoke SET_NETDEV_DEV() to set up the vdev in vnet_new()

`ls /sys/devices/channel-devices/vnet-port-0-0/net' is missing without
this change, and applications like NetworkManager are looking in
sysfs for the information.

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunvnet.c