Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57715
b: refs/heads/master
c: 3d7dbea
h: refs/heads/master
i:
  57713: c1856ac
  57711: 2f3a910
v: v3
  • Loading branch information
David S. Miller committed Jun 12, 2007
1 parent 46a3038 commit cfa4439
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 606f585e363527da9feaed79465132c0c661fd9e
refs/heads/master: 3d7dbeac58d0669c37e35a3b91bb41c0146395ce
3 changes: 2 additions & 1 deletion trunk/net/ipv4/tcp_ipv4.c
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,7 @@ int tcp_v4_md5_do_add(struct sock *sk, __be32 addr,
kfree(newkey);
return -ENOMEM;
}
sk->sk_route_caps &= ~NETIF_F_GSO_MASK;
}
if (tcp_alloc_md5sig_pool() == NULL) {
kfree(newkey);
Expand Down Expand Up @@ -1007,7 +1008,7 @@ static int tcp_v4_parse_md5_keys(struct sock *sk, char __user *optval,
return -EINVAL;

tp->md5sig_info = p;

sk->sk_route_caps &= ~NETIF_F_GSO_MASK;
}

newkey = kmemdup(cmd.tcpm_key, cmd.tcpm_keylen, GFP_KERNEL);
Expand Down
2 changes: 2 additions & 0 deletions trunk/net/ipv6/tcp_ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ static int tcp_v6_md5_do_add(struct sock *sk, struct in6_addr *peer,
kfree(newkey);
return -ENOMEM;
}
sk->sk_route_caps &= ~NETIF_F_GSO_MASK;
}
tcp_alloc_md5sig_pool();
if (tp->md5sig_info->alloced6 == tp->md5sig_info->entries6) {
Expand Down Expand Up @@ -724,6 +725,7 @@ static int tcp_v6_parse_md5_keys (struct sock *sk, char __user *optval,
return -ENOMEM;

tp->md5sig_info = p;
sk->sk_route_caps &= ~NETIF_F_GSO_MASK;
}

newkey = kmemdup(cmd.tcpm_key, cmd.tcpm_keylen, GFP_KERNEL);
Expand Down

0 comments on commit cfa4439

Please sign in to comment.