diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index a8218bc1806a6c541fdeac42eaf00ee66faf0950..9eb61c7cae5783574efbf4d3d293221b26d9c9ac 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -503,7 +503,7 @@ static int addrconf_fixup_forwarding(struct ctl_table *table, int *p, int old) return 0; if (!rtnl_trylock()) - return -ERESTARTSYS; + return restart_syscall(); if (p == &net->ipv6.devconf_all->forwarding) { __s32 newf = net->ipv6.devconf_all->forwarding;