diff options
author | David S. Miller <davem@davemloft.net> | 2019-04-05 17:14:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-05 17:14:19 -0400 |
commit | f83f7151950dd9e0f6b4a1a405bf5e55c5294e4d (patch) | |
tree | f8d9d8ee821fcc9f0a8e1a8679bc622219c70e3b /net/ipv4/tcp_ipv4.c | |
parent | 8f4043f1253292495dbf9c8be0c1b07b4b9902b7 (diff) | |
parent | 7f46774c6480174eb869a3c15167eafac467a6af (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Minor comment merge conflict in mlx5.
Staging driver has a fixup due to the skb->xmit_more changes
in 'net-next', but was removed in 'net'.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 3979939804b7..faa6fa619f59 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -2585,7 +2585,8 @@ static void __net_exit tcp_sk_exit(struct net *net) | |||
2585 | { | 2585 | { |
2586 | int cpu; | 2586 | int cpu; |
2587 | 2587 | ||
2588 | module_put(net->ipv4.tcp_congestion_control->owner); | 2588 | if (net->ipv4.tcp_congestion_control) |
2589 | module_put(net->ipv4.tcp_congestion_control->owner); | ||
2589 | 2590 | ||
2590 | for_each_possible_cpu(cpu) | 2591 | for_each_possible_cpu(cpu) |
2591 | inet_ctl_sock_destroy(*per_cpu_ptr(net->ipv4.tcp_sk, cpu)); | 2592 | inet_ctl_sock_destroy(*per_cpu_ptr(net->ipv4.tcp_sk, cpu)); |