Eric W. Biederman 336ca57c3b 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>
2009-05-18 22:15:57 -07:00
..
2009-04-20 02:14:59 -07:00
2009-01-04 17:29:21 -08:00
2009-04-23 06:37:16 -07:00
2009-04-22 00:49:51 -07:00
2009-05-18 22:11:22 -07:00
2009-03-31 23:00:26 -04:00
2009-02-26 23:43:35 -08:00