Re: VIMAGE and socreate

2013-05-09 Thread Marko Zec
On Thursday 09 May 2013 19:53:05 Vijay Singh wrote: > In 8.3, socreate() does: > > so = soalloc(CRED_TO_VNET(cred)); > > Is there a reason why we don't do soalloc(curvnet) here? Since > CURVNET_SET() doesn't update the vnet in the thread ucred, which is > passed into socreate(), it doesn't

VIMAGE and socreate

2013-05-09 Thread Vijay Singh
In 8.3, socreate() does: so = soalloc(CRED_TO_VNET(cred)); Is there a reason why we don't do soalloc(curvnet) here? Since CURVNET_SET() doesn't update the vnet in the thread ucred, which is passed into socreate(), it doesn't take effect for socket creations. Any ideas? -vijay __