summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2004-10-23 19:06:43 +0000
committerandre <andre@FreeBSD.org>2004-10-23 19:06:43 +0000
commit5b45ea9068fa471ca45accac9877b41624ebc9dc (patch)
tree698c19027ac2ed6af2839c98cbf861d052a19200 /release
parent1422b332e118bc73743bd81103aac4fd8b5e4636 (diff)
downloadFreeBSD-src-5b45ea9068fa471ca45accac9877b41624ebc9dc.zip
FreeBSD-src-5b45ea9068fa471ca45accac9877b41624ebc9dc.tar.gz
socreate() does an early abort if either the protocol cannot be found,
or pru_attach is NULL. With loadable protocols the SPACER dummy protocols have valid function pointers for all methods to functions returning just EOPNOTSUPP. Thus the early abort check would not detect immediately that attach is not supported for this protocol. Instead it would correctly get the EOPNOTSUPP error later on when it calls the protocol specific attach function. Add testing against the pru_attach_notsupp() function pointer to the early abort check as well.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud