diff options
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index ccdfbb16c86d..46060cb24af0 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1569,7 +1569,7 @@ asmlinkage long sys_unshare(unsigned long unshare_flags) | |||
1569 | 1569 | ||
1570 | if (new_sigh) { | 1570 | if (new_sigh) { |
1571 | sigh = current->sighand; | 1571 | sigh = current->sighand; |
1572 | current->sighand = new_sigh; | 1572 | rcu_assign_pointer(current->sighand, new_sigh); |
1573 | new_sigh = sigh; | 1573 | new_sigh = sigh; |
1574 | } | 1574 | } |
1575 | 1575 | ||