diff options
Diffstat (limited to 'include/linux/skmsg.h')
-rw-r--r-- | include/linux/skmsg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/skmsg.h b/include/linux/skmsg.h index 178a3933a71b..50ced8aba9db 100644 --- a/include/linux/skmsg.h +++ b/include/linux/skmsg.h | |||
@@ -351,6 +351,8 @@ static inline void sk_psock_update_proto(struct sock *sk, | |||
351 | static inline void sk_psock_restore_proto(struct sock *sk, | 351 | static inline void sk_psock_restore_proto(struct sock *sk, |
352 | struct sk_psock *psock) | 352 | struct sk_psock *psock) |
353 | { | 353 | { |
354 | sk->sk_write_space = psock->saved_write_space; | ||
355 | |||
354 | if (psock->sk_proto) { | 356 | if (psock->sk_proto) { |
355 | sk->sk_prot = psock->sk_proto; | 357 | sk->sk_prot = psock->sk_proto; |
356 | psock->sk_proto = NULL; | 358 | psock->sk_proto = NULL; |