Page MenuHomeFreeBSD

D17525.diff
No OneTemporary

D17525.diff

Index: head/sys/netinet/udp_usrreq.c
===================================================================
--- head/sys/netinet/udp_usrreq.c
+++ head/sys/netinet/udp_usrreq.c
@@ -528,7 +528,6 @@
in_broadcast(ip->ip_dst, ifp)) {
struct inpcb *last;
struct inpcbhead *pcblist;
- struct ip_moptions *imo;
INP_INFO_RLOCK_ET(pcbinfo, et);
pcblist = udp_get_pcblist(proto);
@@ -563,10 +562,12 @@
* Handle socket delivery policy for any-source
* and source-specific multicast. [RFC3678]
*/
- imo = inp->inp_moptions;
if (IN_MULTICAST(ntohl(ip->ip_dst.s_addr))) {
+ struct ip_moptions *imo;
struct sockaddr_in group;
int blocked;
+
+ imo = inp->inp_moptions;
if (imo == NULL) {
INP_RUNLOCK(inp);
continue;

File Metadata

Mime Type
text/plain
Expires
Sat, Feb 8, 6:47 PM (16 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16530461
Default Alt Text
D17525.diff (775 B)

Event Timeline