summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2009-05-13 20:57:25 +0400
committerDavid S. Miller <davem@davemloft.net>2009-05-19 09:15:57 +0400
commit336ca57c3b4e2b58ea3273e6d978ab3dfa387b4c (patch)
treee77d80f8e95e0fd15c987c1f1af1d8751800b3af /include/linux/workqueue.h
parent690cc3ffe33ac4a2857583c22d4c6244ae11684d (diff)
downloadlinux-336ca57c3b4e2b58ea3273e6d978ab3dfa387b4c.tar.xz
net-sysfs: Use rtnl_trylock in sysfs methods.
The earlier patch to fix the deadlock between a network device going away and writing to sysfs attributes was incomplete. - It did not set signal_pending so we would leak ERSTARTSYS to user space. - It used ERESTARTSYS which only restarts if sigaction configures it to. - It did not cover store and show for ifalias. So fix all of these up and use the new helper restart_syscall so we get the details correct on what it takes. Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions