diff options
Diffstat (limited to 'net/ipv6/udp.c')
-rw-r--r-- | net/ipv6/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index dbc0b042bdd6..7cfb5d745a2d 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c | |||
@@ -428,7 +428,7 @@ try_again: | |||
428 | err = skb_copy_datagram_msg(skb, sizeof(struct udphdr), | 428 | err = skb_copy_datagram_msg(skb, sizeof(struct udphdr), |
429 | msg, copied); | 429 | msg, copied); |
430 | else { | 430 | else { |
431 | err = skb_copy_and_csum_datagram_iovec(skb, sizeof(struct udphdr), msg->msg_iov); | 431 | err = skb_copy_and_csum_datagram_msg(skb, sizeof(struct udphdr), msg); |
432 | if (err == -EINVAL) | 432 | if (err == -EINVAL) |
433 | goto csum_copy_err; | 433 | goto csum_copy_err; |
434 | } | 434 | } |