Fix up more files for the <net/if.h> / <net/if_var.h> split (fixes LINT64).
kernel: Move us to using M_NOWAIT and M_WAITOK for mbuf functions.The main reason is that our having to use the MB_WAIT and MB_DONTWAITflags was a recurring issue when porting drivers from FreeBSD
kernel: Move us to using M_NOWAIT and M_WAITOK for mbuf functions.The main reason is that our having to use the MB_WAIT and MB_DONTWAITflags was a recurring issue when porting drivers from FreeBSD becauseit tended to get forgotten and the code would compile anyway with thewrong constants. And since MB_WAIT and MB_DONTWAIT ended up as ocflagsfor an objcache_get() or objcache_reclaimlist call (which use M_WAITOKand M_NOWAIT), it was just one big converting back and forth with somesanitization in between.This commit allows M_* again for the mbuf functions and keeps thesanitizing as it was before: when M_WAITOK is among the passed flags,objcache functions will be called with M_WAITOK and when it is absent,they will be called with M_NOWAIT. All other flags are scrubbed by theMB_OCFLAG() macro which does the same as the former MBTOM().Approved-by: dillon
show more ...
kernel/netgraph7: Use kprintf etc. directly instead of defining printf.While here, remove some commented out code from dragonfly.hIn-discussion-with: nant
kernel/netgraph7: Remove KMODDEPS.
kernel/netgraph7: Use kether_ntoa().
kern - Utilize new way of printing MAC addresses.kether_aton() function is being used to return a bufferwith the human readable notation of an ethernet address.
kernel: Remove newlines from the panic messages that have one.panic() itself will add a newline.
Revert "netgraph7: Make netgraph7 kernel modules names unique."This reverts commit b3caef111369521fa1099de35840437191aa1436.* Now that netgraph7 kernel buils is under the WANT_NETGRAPH7 make va
Revert "netgraph7: Make netgraph7 kernel modules names unique."This reverts commit b3caef111369521fa1099de35840437191aa1436.* Now that netgraph7 kernel buils is under the WANT_NETGRAPH7 make variable, this commit can be reverted.
netgraph7: Make netgraph7 kernel modules names unique.* This way, netgraph (legacy) and netgraph7 kernel modules names do not colide and do not overwrite each other in /boot/<blah> during make
netgraph7: Make netgraph7 kernel modules names unique.* This way, netgraph (legacy) and netgraph7 kernel modules names do not colide and do not overwrite each other in /boot/<blah> during make installkernel.
Welcome ng_bridge.And also add netgraph7 include files to the Makefile. These somehowwere omited in the previous commit.