summaryrefslogtreecommitdiff
path: root/sys/nfs/nfsnode.h
diff options
context:
space:
mode:
authorchuck <chuck@cvs.openbsd.org>1996-07-11 00:17:11 +0000
committerchuck <chuck@cvs.openbsd.org>1996-07-11 00:17:11 +0000
commitbb6f532983a1c44bbc031d6010a1ca82bb18db8b (patch)
tree8e4cd271bafdcad9460c8ec8527b470455ba10da /sys/nfs/nfsnode.h
parentdbfec0039f7098c627cd5e35e63c85b384316ce2 (diff)
fixes:
- don't try and add a PDU trailer (or TBD for that matter) to an M_EXT mbuf. when M_EXT is set, the data area of the mbuf can be shared with other mbufs (see m_copym()), and writing to one M_EXT mbuf may invalidate another M_EXT mbuf (saw this with PDU trailers). - be sure to validate the length value from the PDU trailer so that it doesn't throw us out of sync with the chip (fixes yet another source of the dread "en_service: id mismatch" panic). - on recv, don't bother allocating an mbuf if mlen is zero since we are only going to toss the data anyway.
Diffstat (limited to 'sys/nfs/nfsnode.h')
0 files changed, 0 insertions, 0 deletions