aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/udp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index cd0db5471bb5..cf0cece50b6c 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -1777,14 +1777,14 @@ int __udp4_lib_rcv(struct sk_buff *skb, struct udp_table *udptable,
1777 if (ret > 0) 1777 if (ret > 0)
1778 return -ret; 1778 return -ret;
1779 return 0; 1779 return 0;
1780 } else {
1781 if (rt->rt_flags & (RTCF_BROADCAST|RTCF_MULTICAST))
1782 return __udp4_lib_mcast_deliver(net, skb, uh,
1783 saddr, daddr, udptable);
1784
1785 sk = __udp4_lib_lookup_skb(skb, uh->source, uh->dest, udptable);
1786 } 1780 }
1787 1781
1782 if (rt->rt_flags & (RTCF_BROADCAST|RTCF_MULTICAST))
1783 return __udp4_lib_mcast_deliver(net, skb, uh,
1784 saddr, daddr, udptable);
1785
1786 sk = __udp4_lib_lookup_skb(skb, uh->source, uh->dest, udptable);
1787
1788 if (sk != NULL) { 1788 if (sk != NULL) {
1789 int ret; 1789 int ret;
1790 1790