diff options
author | Cong Wang <amwang@redhat.com> | 2013-01-17 08:21:08 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-17 08:33:06 +0400 |
commit | 5bd30d398792eb6351da2087fe81bbf755900991 (patch) | |
tree | 035a97bc084cb3b7a01bce30571cbb3301953d3f /arch/m32r/include | |
parent | 07f623d3b278abe88508c1c59d7c1089b4a56789 (diff) | |
download | linux-5bd30d398792eb6351da2087fe81bbf755900991.tar.xz |
netpoll: fix a missing dev refcounting
__dev_get_by_name() doesn't refcount the network device,
so we have to do this by ourselves. Noticed by Eric.
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/m32r/include')
0 files changed, 0 insertions, 0 deletions