diff options
Diffstat (limited to 'include/net/sctp/sctp.h')
-rw-r--r-- | include/net/sctp/sctp.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h index 1b81ede7c2bc..4977b0a81535 100644 --- a/include/net/sctp/sctp.h +++ b/include/net/sctp/sctp.h | |||
@@ -463,8 +463,7 @@ static inline void sctp_skb_set_owner_r(struct sk_buff *skb, struct sock *sk) | |||
463 | skb->destructor = sctp_sock_rfree; | 463 | skb->destructor = sctp_sock_rfree; |
464 | atomic_add(event->rmem_len, &sk->sk_rmem_alloc); | 464 | atomic_add(event->rmem_len, &sk->sk_rmem_alloc); |
465 | /* | 465 | /* |
466 | * This mimics the behavior of | 466 | * This mimics the behavior of skb_set_owner_r |
467 | * sk_stream_set_owner_r | ||
468 | */ | 467 | */ |
469 | sk->sk_forward_alloc -= event->rmem_len; | 468 | sk->sk_forward_alloc -= event->rmem_len; |
470 | } | 469 | } |