diff options
author | Jeff Moyer <jmoyer@redhat.com> | 2005-06-23 07:04:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-23 07:04:55 +0200 |
commit | 6ca4f65e6b390d09e1de7280cf9fd4f5d8e4b48b (patch) | |
tree | 1ca8b0d0126c5ce1cd7ffc0fe0ccd80235f3307b /net | |
parent | [NET]: dont use strlen() but the result from a prior sprintf() (diff) | |
download | linux-6ca4f65e6b390d09e1de7280cf9fd4f5d8e4b48b.tar.xz linux-6ca4f65e6b390d09e1de7280cf9fd4f5d8e4b48b.zip |
[NETPOLL]: Set poll_owner to -1 before unlocking in netpoll_poll_unlock()
This trivial patch moves the assignment of poll_owner to -1 inside of
the lock. This fixes a potential SMP race in the code.
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions