summaryrefslogtreecommitdiffstats
path: root/net/sctp/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/output.c')
-rw-r--r--net/sctp/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/output.c b/net/sctp/output.c
index 89cee1482d35..9bf9d84a96b7 100644
--- a/net/sctp/output.c
+++ b/net/sctp/output.c
@@ -402,7 +402,7 @@ static void sctp_packet_set_owner_w(struct sk_buff *skb, struct sock *sk)
402 * therefore only reserve a single byte to keep socket around until 402 * therefore only reserve a single byte to keep socket around until
403 * the packet has been transmitted. 403 * the packet has been transmitted.
404 */ 404 */
405 atomic_inc(&sk->sk_wmem_alloc); 405 refcount_inc(&sk->sk_wmem_alloc);
406} 406}
407 407
408static int sctp_packet_pack(struct sctp_packet *packet, 408static int sctp_packet_pack(struct sctp_packet *packet,