freebsd-skq/sys/dev/cxgbe
ian 0dd684d23f Set the SBUF_INCLUDENUL flag in sbuf_new_for_sysctl() so that sysctl
strings returned to userland include the nulterm byte.

Some uses of sbuf_new_for_sysctl() write binary data rather than strings;
clear the SBUF_INCLUDENUL flag after calling sbuf_new_for_sysctl() in
those cases.  (Note that the sbuf code still automatically adds a nulterm
byte in sbuf_finish(), but since it's not included in the length it won't
get copied to userland along with the binary data.)

Remove explicit adding of a nulterm byte in a couple places now that it
gets done automatically by the sbuf drain code.

PR:		195668
2015-03-14 17:08:28 +00:00
..
common
firmware
iw_cxgbe
tom Resize receive socket buffers that support autosizing when receiving 2015-03-11 17:35:07 +00:00
adapter.h cxgbe(4): set up congestion management for netmap rx queues. 2015-02-24 18:40:10 +00:00
if_cxl.c
offload.h
osdep.h
t4_ioctl.h
t4_l2t.c Revert r279934, r279938; this is going to be fixed in sbuf instead. 2015-03-14 13:04:39 +00:00
t4_l2t.h
t4_main.c Set the SBUF_INCLUDENUL flag in sbuf_new_for_sysctl() so that sysctl 2015-03-14 17:08:28 +00:00
t4_mp_ring.c
t4_mp_ring.h
t4_netmap.c cxgbe(4): experimental rx packet sink for netmap queues. This is not 2015-03-06 20:41:28 +00:00
t4_sge.c cxgbe(4): set up congestion management for netmap rx queues. 2015-02-24 18:40:10 +00:00
t4_tracer.c