diff options
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r-- | net/ipv4/udp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index e10f62e6c07c..116e4a8bfb73 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c | |||
@@ -778,7 +778,7 @@ static int udp_push_pending_frames(struct sock *sk) | |||
778 | if (!skb) | 778 | if (!skb) |
779 | goto out; | 779 | goto out; |
780 | 780 | ||
781 | err = udp_send_skb(skb, fl->fl4_dst, fl->fl_ip_dport); | 781 | err = udp_send_skb(skb, fl->fl4_dst, fl->fl4_dport); |
782 | 782 | ||
783 | out: | 783 | out: |
784 | up->len = 0; | 784 | up->len = 0; |
@@ -917,8 +917,8 @@ int udp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, | |||
917 | .flowi_proto = sk->sk_protocol, | 917 | .flowi_proto = sk->sk_protocol, |
918 | .flowi_flags = (inet_sk_flowi_flags(sk) | | 918 | .flowi_flags = (inet_sk_flowi_flags(sk) | |
919 | FLOWI_FLAG_CAN_SLEEP), | 919 | FLOWI_FLAG_CAN_SLEEP), |
920 | .fl_ip_sport = inet->inet_sport, | 920 | .fl4_sport = inet->inet_sport, |
921 | .fl_ip_dport = dport, | 921 | .fl4_dport = dport, |
922 | }; | 922 | }; |
923 | struct net *net = sock_net(sk); | 923 | struct net *net = sock_net(sk); |
924 | 924 | ||
@@ -973,9 +973,9 @@ back_from_confirm: | |||
973 | * Now cork the socket to pend data. | 973 | * Now cork the socket to pend data. |
974 | */ | 974 | */ |
975 | inet->cork.fl.fl4_dst = daddr; | 975 | inet->cork.fl.fl4_dst = daddr; |
976 | inet->cork.fl.fl_ip_dport = dport; | 976 | inet->cork.fl.fl4_dport = dport; |
977 | inet->cork.fl.fl4_src = saddr; | 977 | inet->cork.fl.fl4_src = saddr; |
978 | inet->cork.fl.fl_ip_sport = inet->inet_sport; | 978 | inet->cork.fl.fl4_sport = inet->inet_sport; |
979 | up->pending = AF_INET; | 979 | up->pending = AF_INET; |
980 | 980 | ||
981 | do_append_data: | 981 | do_append_data: |