Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109634233
D17525.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
775 B
Referenced Files
None
Subscribers
None
D17525.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D17525: Move variable into proper block.
Attached
Detach File
Event Timeline
Log In to Comment