network/stack: Assume no hook means no ancillary data.
At least for process_ancillary_data_no_container, anyway, which is only used by the IP modules at present. Fixes #19756.
This commit is contained in:
@@ -268,8 +268,10 @@ process_ancillary_data(net_socket* socket,
|
|||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (socket->first_info->process_ancillary_data_no_container == NULL)
|
if (socket->first_info->process_ancillary_data_no_container == NULL) {
|
||||||
return B_NOT_SUPPORTED;
|
messageHeader->msg_controllen = 0;
|
||||||
|
return B_OK;
|
||||||
|
}
|
||||||
|
|
||||||
bytesWritten = socket->first_info->process_ancillary_data_no_container(
|
bytesWritten = socket->first_info->process_ancillary_data_no_container(
|
||||||
socket->first_protocol, buffer, dataBuffer,
|
socket->first_protocol, buffer, dataBuffer,
|
||||||
|
|||||||
Reference in New Issue
Block a user