Permit SO_NO_DDP and SO_NO_OFFLOAD to be read via getsockopt(2).
MFC after: 2 weeks Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D24627
This commit is contained in:
parent
5687a376df
commit
2684603c5f
@ -3231,6 +3231,8 @@ sogetopt(struct socket *so, struct sockopt *sopt)
|
||||
case SO_TIMESTAMP:
|
||||
case SO_BINTIME:
|
||||
case SO_NOSIGPIPE:
|
||||
case SO_NO_DDP:
|
||||
case SO_NO_OFFLOAD:
|
||||
optval = so->so_options & sopt->sopt_name;
|
||||
integer:
|
||||
error = sooptcopyout(sopt, &optval, sizeof optval);
|
||||
|
Loading…
Reference in New Issue
Block a user