OPNSense/src 63bafd8 — sys/dev/netmap netmap.c netmap_kern.h
MFC r342300 netmap: move buf_size validation code to its own function This code validates the netmap buf_size against the interface MTU and maximum descriptor size, to make sure the values are consistent. Moving this functionality to its own function is needed because this function is also called by Linux-specific code.
Delta | File | |
---|---|---|
+52 | -42 | sys/dev/netmap/netmap.c |
+1 | -0 | sys/dev/netmap/netmap_kern.h |
+53 | -42 | 2 files |