Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
The conflict was an interaction between a bug fix in the netvsc driver in 'net' and an optimization of the RX path in 'net-next'. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -239,7 +239,7 @@ static struct sctp_transport *sctp_addr_id2transport(struct sock *sk,
|
||||
union sctp_addr *laddr = (union sctp_addr *)addr;
|
||||
struct sctp_transport *transport;
|
||||
|
||||
if (sctp_verify_addr(sk, laddr, af->sockaddr_len))
|
||||
if (!af || sctp_verify_addr(sk, laddr, af->sockaddr_len))
|
||||
return NULL;
|
||||
|
||||
addr_asoc = sctp_endpoint_lookup_assoc(sctp_sk(sk)->ep,
|
||||
@@ -7540,7 +7540,8 @@ static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p,
|
||||
*/
|
||||
release_sock(sk);
|
||||
current_timeo = schedule_timeout(current_timeo);
|
||||
BUG_ON(sk != asoc->base.sk);
|
||||
if (sk != asoc->base.sk)
|
||||
goto do_error;
|
||||
lock_sock(sk);
|
||||
|
||||
*timeo_p = current_timeo;
|
||||
|
||||
Reference in New Issue
Block a user