Commit d347bf10 authored by David S. Miller's avatar David S. Miller

Update port-allocation changes to coincide with struct sock

splitup.
parent 9870e623
......@@ -1211,7 +1211,7 @@ static inline void tcp_connect_init(struct sock *sk)
*/
int tcp_connect(struct sock *sk)
{
struct tcp_opt *tp = &(sk->tp_pinfo.af_tcp);
struct tcp_opt *tp = tcp_sk(sk);
struct sk_buff *buff;
tcp_connect_init(sk);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment