View | Details | Raw Unified | Return to bug 207463
Collapse All | Expand All

(-)stable/10/sys/netpfil/pf/pf_ioctl.c (-1 / +1 lines)
Lines 2720-2726 Link Here
2720
			error = ENODEV;
2720
			error = ENODEV;
2721
			break;
2721
			break;
2722
		}
2722
		}
2723
		totlen = io->pfrio_size * sizeof(struct pfr_addr);
2723
		totlen = io->pfrio_size2 * sizeof(struct pfr_addr);
2724
		pfras = malloc(totlen, M_TEMP, M_WAITOK);
2724
		pfras = malloc(totlen, M_TEMP, M_WAITOK);
2725
		error = copyin(io->pfrio_buffer, pfras, totlen);
2725
		error = copyin(io->pfrio_buffer, pfras, totlen);
2726
		if (error) {
2726
		if (error) {

Return to bug 207463