Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Overlapping header include additions in macsec.c A bug fix in 'net' overlapping with the removal of 'version' string in ena_netdev.c Overlapping test additions in selftests Makefile Overlapping PCI ID table adjustments in iwlwifi driver. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -2948,8 +2948,10 @@ static int do_tcp_setsockopt(struct sock *sk, int level,
|
||||
err = -EPERM;
|
||||
else if (tp->repair_queue == TCP_SEND_QUEUE)
|
||||
WRITE_ONCE(tp->write_seq, val);
|
||||
else if (tp->repair_queue == TCP_RECV_QUEUE)
|
||||
else if (tp->repair_queue == TCP_RECV_QUEUE) {
|
||||
WRITE_ONCE(tp->rcv_nxt, val);
|
||||
WRITE_ONCE(tp->copied_seq, val);
|
||||
}
|
||||
else
|
||||
err = -EINVAL;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user