linux-next: manual merge of the net-next tree with the net tree
Subsystems (4)
Mark Brown
maintainerHi all,
Today's linux-next merge of the net-next tree got a conflict in:
net/ipv4/icmp.c
between commit:
fde29fd934932 ("ipv4: icmp: fix null-ptr-deref in icmp_build_probe()")
from the net tree and commit:
d98adfbdd5c01 ("ipv4: drop ipv6_stub usage and use direct function calls")
from the net-next tree.
I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.
net/ipv4/icmp.c +0 -0
@@@ -1345,14 -1342,7 +1342,15 @@@ bool icmp_build_probe(struct sk_buff *scase ICMP_AFI_IP6 :if (iio->ident.addr.ctype3_hdr.addrlen !=sizeof (struct in6_addr )) goto send_mal_query; - dev = ipv6_stub->ipv6_dev_find (net, &iio->ident.addr.ip_addr.ipv6_addr, dev); + dev =ipv6_dev_find (net, &iio->ident.addr.ip_addr.ipv6_addr, dev); ++ +/* + * If IPv6 identifier lookup is unavailable, silently + * discard the request instead of misreporting NO_IF. + */ + if (IS_ERR(dev)) + return false; +dev_hold (dev);break ;#endif