#
50c6cbc7 |
| 07-Aug-2018 |
Sascha Wildner <saw@online.de> |
Fix up more files for the <net/if.h> / <net/if_var.h> split (fixes LINT64).
|
#
b5523eac |
| 19-Feb-2015 |
Sascha Wildner <saw@online.de> |
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_DONTWAIT flags 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_DONTWAIT flags was a recurring issue when porting drivers from FreeBSD because it tended to get forgotten and the code would compile anyway with the wrong constants. And since MB_WAIT and MB_DONTWAIT ended up as ocflags for an objcache_get() or objcache_reclaimlist call (which use M_WAITOK and M_NOWAIT), it was just one big converting back and forth with some sanitization in between.
This commit allows M_* again for the mbuf functions and keeps the sanitizing 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 the MB_OCFLAG() macro which does the same as the former MBTOM().
Approved-by: dillon
show more ...
|
#
a62226e4 |
| 15-Jul-2014 |
Sascha Wildner <saw@online.de> |
kernel/netgraph7: Use kprintf etc. directly instead of defining printf.
While here, remove some commented out code from dragonfly.h
In-discussion-with: nant
|
#
18748015 |
| 16-Jan-2013 |
Sascha Wildner <saw@online.de> |
kernel/netgraph7: Use kether_ntoa().
|
#
1e290df3 |
| 28-Dec-2012 |
Antonio Huete Jimenez <tuxillo@quantumachine.net> |
kern - Utilize new way of printing MAC addresses.
kether_aton() function is being used to return a buffer with the human readable notation of an ethernet address.
|
#
ed20d0e3 |
| 21-Apr-2012 |
Sascha Wildner <saw@online.de> |
kernel: Remove newlines from the panic messages that have one.
panic() itself will add a newline.
|
#
512a0173 |
| 23-Jun-2009 |
Nuno Antunes <nuno.antunes@gmail.com> |
Welcome ng_bridge.
And also add netgraph7 include files to the Makefile. These somehow were omited in the previous commit.
|