freebsd-skq/sys/dev/cxgbe
Ian Lepore 1eafc07856 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 cxgbe(4): allow the SET_FILTER_MODE ioctl to change the mode when it's 2015-02-10 01:16:43 +00:00
firmware cxgbe(4): adjust PMRX and PMTX parameters. 2014-11-10 19:45:28 +00:00
iw_cxgbe Update the infiniband stack to Mellanox's OFED version 2.1. 2015-02-17 08:40:27 +00:00
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 cxgbe(4): Add a minimal if_cxl module that pulls in the real driver as 2015-02-06 01:10:04 +00:00
offload.h cxgbe(4): tidy up some of the interaction between the Upper Layer 2015-02-08 09:28:55 +00:00
osdep.h Add hooks in base cxgbe(4) for the iWARP upper-layer driver. Update a 2013-08-28 20:45:45 +00:00
t4_ioctl.h cxgbe(4): T4_SET_SCHED_CLASS and T4_SET_SCHED_QUEUE ioctls to program 2013-12-03 18:34:52 +00:00
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 cxgbe(4): Updates to the hardware L2 table management code. 2013-01-14 20:36:22 +00:00
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 Allow cxgbe(4) to be built on i386. Driver attach will succeed only on a subset 2015-01-16 01:32:40 +00:00
t4_mp_ring.h cxgbe(4): major tx rework. 2014-12-31 23:19:16 +00:00
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 cxgbe(4): Remove stray if_up from the code that creates the tracing ifnet. 2014-05-23 01:45:44 +00:00