diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-05-13 16:58:17 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-19 05:15:58 (GMT) |
commit | 5007392d8512e666107dc356d4c2e05627b9029b (patch) | |
tree | 95f89bd01bca414a6bd40ea46fd6065bebe6b135 /scripts/kallsyms.c | |
parent | 336ca57c3b4e2b58ea3273e6d978ab3dfa387b4c (diff) | |
download | linux-fsl-qoriq-5007392d8512e666107dc356d4c2e05627b9029b.tar.xz |
net: FIX ipv6_forward sysctl restart
Just returning -ERESTARTSYS without a signal pending is not
good that will just leak it to userspace. We need return
-ERESTARTNOINTR so we always restart and set signal pending
so that we fall of the fast path of syscall return and setup
the system call restart.
So use restart_syscall() which does all of this for us.
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/kallsyms.c')
0 files changed, 0 insertions, 0 deletions