aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r--net/ipv4/udp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index fea2d873dd41..da869ce041d9 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -666,6 +666,7 @@ int udp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
666 .saddr = saddr, 666 .saddr = saddr,
667 .tos = tos } }, 667 .tos = tos } },
668 .proto = sk->sk_protocol, 668 .proto = sk->sk_protocol,
669 .flags = inet_sk_flowi_flags(sk),
669 .uli_u = { .ports = 670 .uli_u = { .ports =
670 { .sport = inet->sport, 671 { .sport = inet->sport,
671 .dport = dport } } }; 672 .dport = dport } } };