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

Collapse All | Expand All

(-)b/sys/netpfil/pf/pf_ioctl.c (-4 / +12 lines)
Lines 3562-3568 pf_check_in(void *arg, struct mbuf **m, struct ifnet *ifp, int dir, Link Here
3562
		*m = NULL;
3562
		*m = NULL;
3563
	}
3563
	}
3564
3564
3565
	return (chk);
3565
	if (chk != PF_PASS)
3566
		return (EACCES);
3567
	return (0);
3566
}
3568
}
3567
3569
3568
static int
3570
static int
Lines 3577-3583 pf_check_out(void *arg, struct mbuf **m, struct ifnet *ifp, int dir, Link Here
3577
		*m = NULL;
3579
		*m = NULL;
3578
	}
3580
	}
3579
3581
3580
	return (chk);
3582
	if (chk != PF_PASS)
3583
		return (EACCES);
3584
	return (0);
3581
}
3585
}
3582
#endif
3586
#endif
3583
3587
Lines 3600-3606 pf_check6_in(void *arg, struct mbuf **m, struct ifnet *ifp, int dir, Link Here
3600
		m_freem(*m);
3604
		m_freem(*m);
3601
		*m = NULL;
3605
		*m = NULL;
3602
	}
3606
	}
3603
	return chk;
3607
	if (chk != PF_PASS)
3608
		return (EACCES);
3609
	return (0);
3604
}
3610
}
3605
3611
3606
static int
3612
static int
Lines 3616-3622 pf_check6_out(void *arg, struct mbuf **m, struct ifnet *ifp, int dir, Link Here
3616
		m_freem(*m);
3622
		m_freem(*m);
3617
		*m = NULL;
3623
		*m = NULL;
3618
	}
3624
	}
3619
	return chk;
3625
	if (chk != PF_PASS)
3626
		return (EACCES);
3627
	return (0);
3620
}
3628
}
3621
#endif /* INET6 */
3629
#endif /* INET6 */
3622
3630

Return to bug 207598