Commit 01559b14 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

net/tcp: fix invalid reference in getsockopt()

parent e493c668
......@@ -1822,7 +1822,7 @@ static int rt_tcp_ioctl(struct rtdm_fd *fd,
if (setopt->level != SOL_SOCKET)
if (getopt->level != SOL_SOCKET)
return rt_tcp_getsockopt(fd, ts, getopt->level,
getopt->optname, getopt->optval,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment