Commit 7f4bd3e6 authored by David S. Miller's avatar David S. Miller

[IPV6]: Fix two bugs in ip6_append_data changes.

- Export ip_generic_getfrag
- In udp6 increment v6 udp statistics not v4 one
parent 6bac9098
......@@ -1007,7 +1007,7 @@ static int udpv6_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg
fl6_sock_release(flowlabel);
if (saddr) kfree(saddr);
if (!err) {
UDP_INC_STATS_USER(UdpOutDatagrams);
UDP6_INC_STATS_USER(UdpOutDatagrams);
return len;
}
return err;
......
......@@ -467,6 +467,8 @@ EXPORT_SYMBOL(sysctl_tcp_tw_recycle);
EXPORT_SYMBOL(sysctl_max_syn_backlog);
#endif
EXPORT_SYMBOL(ip_generic_getfrag);
#endif
EXPORT_SYMBOL(tcp_read_sock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment