View | Details | Raw Unified | Return to bug 220078 | Differences between
and this patch

Collapse All | Expand All

(-)sys/netpfil/ipfw/ip_fw2.c (+5 lines)
Lines 1309-1314 do { \ Link Here
1309
		skip_or = 0;
1309
		skip_or = 0;
1310
		for (l = f->cmd_len, cmd = f->cmd ; l > 0 ;
1310
		for (l = f->cmd_len, cmd = f->cmd ; l > 0 ;
1311
		    l -= cmdlen, cmd += cmdlen) {
1311
		    l -= cmdlen, cmd += cmdlen) {
1312
			struct rm_priotracker in_ifa_tracker;
1312
			int match;
1313
			int match;
1313
1314
1314
			/*
1315
			/*
Lines 1604-1610 do { \ Link Here
1604
				if (is_ipv4) {
1605
				if (is_ipv4) {
1605
					struct ifnet *tif;
1606
					struct ifnet *tif;
1606
1607
1608
					IN_IFADDR_RLOCK(&in_ifa_tracker);
1607
					INADDR_TO_IFP(src_ip, tif);
1609
					INADDR_TO_IFP(src_ip, tif);
1610
					IN_IFADDR_RUNLOCK(&in_ifa_tracker);
1608
					match = (tif != NULL);
1611
					match = (tif != NULL);
1609
					break;
1612
					break;
1610
				}
1613
				}
Lines 1643-1649 do { \ Link Here
1643
				if (is_ipv4) {
1646
				if (is_ipv4) {
1644
					struct ifnet *tif;
1647
					struct ifnet *tif;
1645
1648
1649
					IN_IFADDR_RLOCK(&in_ifa_tracker);
1646
					INADDR_TO_IFP(dst_ip, tif);
1650
					INADDR_TO_IFP(dst_ip, tif);
1651
					IN_IFADDR_RUNLOCK(&in_ifa_tracker);
1647
					match = (tif != NULL);
1652
					match = (tif != NULL);
1648
					break;
1653
					break;
1649
				}
1654
				}

Return to bug 220078