Convert the other use of flags to mflags in soalloc().
This commit is contained in:
parent
48517ca7da
commit
48b0575f79
@ -138,7 +138,7 @@ soalloc(int mflags)
|
||||
so = uma_zalloc(socket_zone, mflags | M_ZERO);
|
||||
if (so) {
|
||||
#ifdef MAC
|
||||
error = mac_init_socket(so, flag);
|
||||
error = mac_init_socket(so, mflags | M_ZERO);
|
||||
if (error != 0) {
|
||||
uma_zfree(socket_zone, so);
|
||||
so = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user