Correct brainfart in SO_BINTIME test.
Pointed out by: nate Pointy hat to: andre
This commit is contained in:
parent
e5fbf72cd8
commit
1fd7af262a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150941
@ -166,7 +166,7 @@ raw_append(struct inpcb *last, struct ip *ip, struct mbuf *n)
|
||||
|
||||
so = last->inp_socket;
|
||||
if ((last->inp_flags & INP_CONTROLOPTS) ||
|
||||
(so->so_options & SO_TIMESTAMP | SO_BINTIME))
|
||||
(so->so_options & (SO_TIMESTAMP | SO_BINTIME)))
|
||||
ip_savecontrol(last, &opts, ip, n);
|
||||
SOCKBUF_LOCK(&so->so_rcv);
|
||||
if (sbappendaddr_locked(&so->so_rcv,
|
||||
|
Loading…
Reference in New Issue
Block a user