aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ixl/i40e_adminq.c
diff options
context:
space:
mode:
authorRobert Wing <rew@FreeBSD.org>2021-12-06 18:45:20 +0000
committerRobert Wing <rew@FreeBSD.org>2021-12-06 18:54:55 +0000
commit5916ae1fb14a28c69818f16ed2903248e08d50b3 (patch)
treef49d47e40ef8ce622a6116f131f6f6f77bc9d36f /sys/dev/ixl/i40e_adminq.c
parentdb158b9942c15f13f4fa09bd29435da882cf865c (diff)
downloadsrc-5916ae1fb14a28c69818f16ed2903248e08d50b3.tar.gz
src-5916ae1fb14a28c69818f16ed2903248e08d50b3.zip
libnv: read entire datagram in nvlist_recv()
When SOCK_DGRAM is used, a portion of the datagram is discarded during the initial recv() when getting the nvlist_header. To workaround this, use MSG_PEEK for the initial recv() when using a datagram socket. Add tests for SOCK_DGRAM with nvlist_send()/nvlist_recv(). Differential Revision: https://reviews.freebsd.org/D32722
Diffstat (limited to 'sys/dev/ixl/i40e_adminq.c')
0 files changed, 0 insertions, 0 deletions