PERFORCE change 147651 for review
Bjoern A. Zeeb
bz at FreeBSD.org
Sun Aug 17 14:24:09 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=147651
Change 147651 by bz at bz_dumpster on 2008/08/17 14:23:49
V_ification of udp_blackhole
Affected files ...
.. //depot/projects/vimage-commit2/src/sys/netinet/udp_usrreq.c#12 edit
.. //depot/projects/vimage-commit2/src/sys/netinet/udp_var.h#2 edit
.. //depot/projects/vimage-commit2/src/sys/netinet6/udp6_usrreq.c#7 edit
.. //depot/projects/vimage-commit2/src/sys/sys/vimage.h#11 edit
Differences ...
==== //depot/projects/vimage-commit2/src/sys/netinet/udp_usrreq.c#12 (text+ko) ====
@@ -321,7 +321,7 @@
* Save a copy of the IP header in case we want restore it for
* sending an ICMP error message in response.
*/
- if (!udp_blackhole)
+ if (!V_udp_blackhole)
save_ip = *ip;
else
memset(&save_ip, 0, sizeof(save_ip));
@@ -529,7 +529,7 @@
V_udpstat.udps_noportbcast++;
goto badheadlocked;
}
- if (udp_blackhole)
+ if (V_udp_blackhole)
goto badheadlocked;
if (badport_bandlim(BANDLIM_ICMP_UNREACH) < 0)
goto badheadlocked;
==== //depot/projects/vimage-commit2/src/sys/netinet/udp_var.h#2 (text+ko) ====
==== //depot/projects/vimage-commit2/src/sys/netinet6/udp6_usrreq.c#7 (text+ko) ====
@@ -337,7 +337,7 @@
goto badheadlocked;
}
INP_INFO_RUNLOCK(&V_udbinfo);
- if (udp_blackhole)
+ if (V_udp_blackhole)
goto badunlocked;
if (badport_bandlim(BANDLIM_ICMP6_UNREACH) < 0)
goto badunlocked;
==== //depot/projects/vimage-commit2/src/sys/sys/vimage.h#11 (text+ko) ====
@@ -334,6 +334,7 @@
#define V_twq_2msl twq_2msl
#define V_udb udb
#define V_udbinfo udbinfo
+#define V_udp_blackhole udp_blackhole
#define V_udp6_recvspace udp6_recvspace
#define V_udp6_sendspace udp6_sendspace
#define V_udpstat udpstat
More information about the p4-projects
mailing list