aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/pktgen.c
diff options
context:
space:
mode:
authorhayeswang <hayeswang@realtek.com>2014-04-11 17:54:31 +0800
committerDavid S. Miller <davem@davemloft.net>2014-04-12 01:59:38 -0400
commit6871438cc4e5307ccda70fa2a246a546300ac9fa (patch)
treec9e22594e72552ef669f65fb565cee0064acb3ba /net/core/pktgen.c
parentnet: sun4i-emac: add promiscuous support (diff)
downloadlinux-dev-6871438cc4e5307ccda70fa2a246a546300ac9fa.tar.xz
linux-dev-6871438cc4e5307ccda70fa2a246a546300ac9fa.zip
r8152: check RTL8152_UNPLUG
When the device is unplugged, the driver would try to disable the device. Add checking the flag of RTL8152_UNPLUG to skip setting the device when it is unplugged. This could shorten the time of unloading the driver. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/pktgen.c')
0 files changed, 0 insertions, 0 deletions