|
@@ -6359,7 +6359,7 @@ void sctp_copy_sock(struct sock *newsk, struct sock *sk,
|
|
struct sctp_association *asoc)
|
|
struct sctp_association *asoc)
|
|
{
|
|
{
|
|
struct inet_sock *inet = inet_sk(sk);
|
|
struct inet_sock *inet = inet_sk(sk);
|
|
- struct inet_sock *newinet = inet_sk(newsk);
|
|
|
|
|
|
+ struct inet_sock *newinet;
|
|
|
|
|
|
newsk->sk_type = sk->sk_type;
|
|
newsk->sk_type = sk->sk_type;
|
|
newsk->sk_bound_dev_if = sk->sk_bound_dev_if;
|
|
newsk->sk_bound_dev_if = sk->sk_bound_dev_if;
|