diff options
Diffstat (limited to 'net/rxrpc/sendmsg.c')
-rw-r--r-- | net/rxrpc/sendmsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/sendmsg.c b/net/rxrpc/sendmsg.c index 2e636a525a65..b0d2cda6ec0a 100644 --- a/net/rxrpc/sendmsg.c +++ b/net/rxrpc/sendmsg.c | |||
@@ -330,7 +330,7 @@ static int rxrpc_send_data(struct rxrpc_sock *rx, | |||
330 | pad &= conn->size_align - 1; | 330 | pad &= conn->size_align - 1; |
331 | _debug("pad %zu", pad); | 331 | _debug("pad %zu", pad); |
332 | if (pad) | 332 | if (pad) |
333 | memset(skb_put(skb, pad), 0, pad); | 333 | skb_put_zero(skb, pad); |
334 | } | 334 | } |
335 | 335 | ||
336 | seq = call->tx_top + 1; | 336 | seq = call->tx_top + 1; |