diff options
author | David Ahern <dsahern@gmail.com> | 2017-08-07 17:44:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-07 20:39:22 +0200 |
commit | 60d9b03141243589dacd3136f3fcb4e6976df954 (patch) | |
tree | 2b8ac19e4d4e78b910983c50422cf375fa94e799 /net/ipv4/udp.c | |
parent | net: ipv4: add second dif to raw socket lookups (diff) | |
download | linux-60d9b03141243589dacd3136f3fcb4e6976df954.tar.xz linux-60d9b03141243589dacd3136f3fcb4e6976df954.zip |
net: ipv4: add second dif to multicast source filter
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r-- | net/ipv4/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 99f25bfec606..cac59d7420cd 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -606,7 +606,7 @@ static inline bool __udp_is_mcast_sock(struct net *net, struct sock *sk, (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif && sk->sk_bound_dev_if != sdif)) return false; - if (!ip_mc_sf_allow(sk, loc_addr, rmt_addr, dif)) + if (!ip_mc_sf_allow(sk, loc_addr, rmt_addr, dif, sdif)) return false; return true; } |