aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
authorMohammed Gamal <mgamal@redhat.com>2018-05-09 10:17:34 +0200
committerDavid S. Miller <davem@davemloft.net>2018-05-10 15:37:00 -0400
commit55be9f25be1ca5bda75c39808fc77e42691bc07f (patch)
tree47291791e5b1ad3165e217a0daa1d4a75bf51529 /net/ipv4/udp.c
parentnfp: flower: remove headroom from max MTU calculation (diff)
downloadlinux-dev-55be9f25be1ca5bda75c39808fc77e42691bc07f.tar.xz
linux-dev-55be9f25be1ca5bda75c39808fc77e42691bc07f.zip
hv_netvsc: Fix net device attach on older Windows hosts
On older windows hosts the net_device instance is returned to the caller of rndis_filter_device_add() without having the presence bit set first. This would cause any subsequent calls to network device operations (e.g. MTU change, channel change) to fail after the device is detached once, returning -ENODEV. Instead of returning the device instabce, we take the exit path where we call netif_device_attach() Fixes: 7b2ee50c0cd5 ("hv_netvsc: common detach logic") Signed-off-by: Mohammed Gamal <mgamal@redhat.com> Reviewed-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions