From: Eric W. Biederman Date: Wed, 13 May 2009 16:58:17 +0000 (+0000) Subject: net: FIX ipv6_forward sysctl restart X-Git-Tag: v2.6.31-rc1~330^2~366 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5007392d8512e666107dc356d4c2e05627b9029b;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed