net_socket: control op should be uint32.
Where it is called from stack_interface_ioctl, the parameter is already a uint32 there. Fixes #13826.
This commit is contained in:
parent
acf02fd2cf
commit
f1e8af173c
@ -56,7 +56,7 @@ struct net_socket_module_info {
|
||||
size_t vecCount, size_t* _length);
|
||||
status_t (*writev)(net_socket* socket, const iovec* vecs,
|
||||
size_t vecCount, size_t* _length);
|
||||
status_t (*control)(net_socket* socket, int32 op, void* data,
|
||||
status_t (*control)(net_socket* socket, uint32 op, void* data,
|
||||
size_t length);
|
||||
|
||||
ssize_t (*read_avail)(net_socket* socket);
|
||||
|
@ -529,7 +529,7 @@ socket_writev(net_socket* socket, const iovec* vecs, size_t vecCount,
|
||||
|
||||
|
||||
status_t
|
||||
socket_control(net_socket* socket, int32 op, void* data, size_t length)
|
||||
socket_control(net_socket* socket, uint32 op, void* data, size_t length)
|
||||
{
|
||||
switch (op) {
|
||||
case FIONBIO:
|
||||
|
Loading…
Reference in New Issue
Block a user