Up to [cvs.NetBSD.org] / src / sys / miscfs / kernfs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: yamt-vop-base3
Revision 1.112 / (download) - annotate - [select for diffs], Thu Sep 1 06:25:26 2005 UTC (17 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-vop
Changes since 1.111: +6 -6
lines
Diff to previous 1.111 (colored)
Also protect the ipsec ioctls from negative offsets to prevent panics in m_copydata(). Pointed out by Karl Janmar. Move the negative offset check from kernfs_xread() to kernfs_read().