summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/syslog.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2015-10-30 19:47:40 +0000
committerbluhm <bluhm@openbsd.org>2015-10-30 19:47:40 +0000
commit4d4cc9a33b84be3fa508e2d45b2dfc2d2ef36994 (patch)
tree501a5c4bf1831e2639c84ed18c288c069cf0cbf4 /lib/libc/gen/syslog.c
parentRedo 1.69, but correctly, so that this really works for yp setups. (diff)
downloadwireguard-openbsd-4d4cc9a33b84be3fa508e2d45b2dfc2d2ef36994.tar.xz
wireguard-openbsd-4d4cc9a33b84be3fa508e2d45b2dfc2d2ef36994.zip
Let m_resethdr() clear the whole mbuf packet header, not only the
pf part. This allows to reuse this function in socket splicing. Reset the mbuf flags that are related to the packet header, but preserve the data flags. pair(4) tested by reyk@; sosplice(9) tested by bluhm@; OK mikeb@ reyk@
Diffstat (limited to 'lib/libc/gen/syslog.c')
0 files changed, 0 insertions, 0 deletions