* topic/uek-4.1/stable-cherry-picks: (96 commits)
KEYS: Fix race between read and revoke
rhashtable: Fix walker list corruption
tcp: restore fastopen with no data in SYN packet
fou: clean up socket with kfree_rcu
rhashtable: Enforce minimum size on initial hash table
net: fix uninitialized variable issue
bluetooth: Validate socket address length in sco_sock_bind().
net: check both type and procotol for tcp sockets
skbuff: Fix offset error in skb_reorder_vlan_header
pptp: verify sockaddr_len in pptp_bind() and pptp_connect()
net: fix IP early demux races
sh_eth: fix kernel oops in skb_put()
net: add validation for the socket syscall protocol argument
ipv6: sctp: clone options to avoid use after free
vxlan: fix incorrect RCO bit in VXLAN header
ipv6: keep existing flags when setting IFA_F_OPTIMISTIC
pppoe: fix memory corruption in padt work structure
usb: core : hub: Fix BOS 'NULL pointer' kernel panic
nfs4: start callback_ident at idr 1
nfsd: eliminate sending duplicate and repeated delegations
...
28 files changed:
if (!blk_queue_stopped(req->q))
blk_mq_kick_requeue_list(req->q);
spin_unlock_irqrestore(req->q->queue_lock, flags);
- return;
+ goto release_iod;
}
- req->errors = nvme_error_status(status);
+ if (req->cmd_type == REQ_TYPE_SPECIAL) {
+ if (cmd_rq->ctx == CMD_CTX_CANCELLED)
+ req->errors = -EINTR;
+ else
+ req->errors = status;
+ } else {
+ req->errors = nvme_error_status(status);
+ }
} else
req->errors = 0;
struct sock *newsk;
struct ipv6_pinfo *newnp, *np = inet6_sk(sk);
struct sctp6_sock *newsctp6sk;
+ struct ipv6_txoptions *opt;
- newsk = sk_alloc(sock_net(sk), PF_INET6, GFP_KERNEL, sk->sk_prot);
+ newsk = sk_alloc(sock_net(sk), PF_INET6, GFP_KERNEL, sk->sk_prot, 0);
if (!newsk)
goto out;