Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Some ISDN files that got removed in net-next had some changes done in mainline, take the removals. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
/*
|
||||
* INET An implementation of the TCP/IP protocol suite for the LINUX
|
||||
* operating system. INET is implemented using the BSD Socket
|
||||
@@ -69,12 +70,6 @@
|
||||
* a single port at the same time.
|
||||
* Derek Atkins <derek@ihtfp.com>: Add Encapulation Support
|
||||
* James Chapman : Add L2TP encapsulation type.
|
||||
*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version
|
||||
* 2 of the License, or (at your option) any later version.
|
||||
*/
|
||||
|
||||
#define pr_fmt(fmt) "UDP: " fmt
|
||||
@@ -538,8 +533,7 @@ static inline bool __udp_is_mcast_sock(struct net *net, struct sock *sk,
|
||||
(inet->inet_dport != rmt_port && inet->inet_dport) ||
|
||||
(inet->inet_rcv_saddr && inet->inet_rcv_saddr != loc_addr) ||
|
||||
ipv6_only_sock(sk) ||
|
||||
(sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif &&
|
||||
sk->sk_bound_dev_if != sdif))
|
||||
!udp_sk_bound_dev_eq(net, sk->sk_bound_dev_if, dif, sdif))
|
||||
return false;
|
||||
if (!ip_mc_sf_allow(sk, loc_addr, rmt_addr, dif, sdif))
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user