Use an explicit compare to 0 for an immediate error result, not !.
Using ! is perfectly clear on variables like "error" or "result",
but directly on a function call it tends to look like a mistake.
Increase maximum MSGBUFSIZE to 248k.
While here, remove 2 sparc(32)-only entries (from mrg@).
Fix unchecked UFS_WAPBL_BEGIN. Coverity 975226.
Unfortunately it looks like all we can do on error here is printf.
Reinstate include of netdb.h, needed on some cross builds
tcp_accept: simplify a little.
table can't be NULL here.
CID 975226: hande error from UFS_WAPBL_BEGIN
add missing fallthrough
initialize args the same way we do in filter.
Fix a user-controlled memory allocation. kmem_alloc(0) will panic the system.

ok christos@
Simplify a bit