aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-09-21 10:53:05 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-21 10:53:05 -0400
commit76abf3e71c5a4d315ec95e23e5aedd15fbfcd6df (patch)
tree396d39575c2e1bb43f0e5794969814cdb2387909 /net/ipv4
parentd90d4392b395083a7d295b7cdf0edfd849d4c2a3 (diff)
parent7957aed72b104f7528da484f292442c6f3a131a1 (diff)
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/fib_trie.c15
-rw-r--r--net/ipv4/tcp_minisocks.c2
2 files changed, 4 insertions, 13 deletions
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c
index 90ae70870a..50c0519cd7 100644
--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -1086,7 +1086,7 @@ fib_insert_node(struct trie *t, int *err, u32 key, int plen)
1086 } 1086 }
1087 1087
1088 if (tp && tp->pos + tp->bits > 32) 1088 if (tp && tp->pos + tp->bits > 32)
1089 printk("ERROR tp=%p pos=%d, bits=%d, key=%0x plen=%d\n", 1089 printk(KERN_WARNING "fib_trie tp=%p pos=%d, bits=%d, key=%0x plen=%d\n",
1090 tp, tp->pos, tp->bits, key, plen); 1090 tp, tp->pos, tp->bits, key, plen);
1091 1091
1092 /* Rebalance the trie */ 1092 /* Rebalance the trie */
@@ -1832,16 +1832,7 @@ static int fn_trie_dump_fa(t_key key, int plen, struct list_head *fah, struct fi
1832 i++; 1832 i++;
1833 continue; 1833 continue;
1834 } 1834 }
1835 if (fa->fa_info->fib_nh == NULL) { 1835 BUG_ON(!fa->fa_info);
1836 printk("Trie error _fib_nh=NULL in fa[%d] k=%08x plen=%d\n", i, key, plen);
1837 i++;
1838 continue;
1839 }
1840 if (fa->fa_info == NULL) {
1841 printk("Trie error fa_info=NULL in fa[%d] k=%08x plen=%d\n", i, key, plen);
1842 i++;
1843 continue;
1844 }
1845 1836
1846 if (fib_dump_info(skb, NETLINK_CB(cb->skb).pid, 1837 if (fib_dump_info(skb, NETLINK_CB(cb->skb).pid,
1847 cb->nlh->nlmsg_seq, 1838 cb->nlh->nlmsg_seq,
@@ -1964,7 +1955,7 @@ struct fib_table * __init fib_hash_init(int id)
1964 trie_main = t; 1955 trie_main = t;
1965 1956
1966 if (id == RT_TABLE_LOCAL) 1957 if (id == RT_TABLE_LOCAL)
1967 printk("IPv4 FIB: Using LC-trie version %s\n", VERSION); 1958 printk(KERN_INFO "IPv4 FIB: Using LC-trie version %s\n", VERSION);
1968 1959
1969 return tb; 1960 return tb;
1970} 1961}
diff --git a/net/ipv4/tcp_minisocks.c b/net/ipv4/tcp_minisocks.c
index a88db28b0a..b1a63b2c6b 100644
--- a/net/ipv4/tcp_minisocks.c
+++ b/net/ipv4/tcp_minisocks.c
@@ -384,7 +384,7 @@ struct sock *tcp_create_openreq_child(struct sock *sk, struct request_sock *req,
384 newtp->frto_counter = 0; 384 newtp->frto_counter = 0;
385 newtp->frto_highmark = 0; 385 newtp->frto_highmark = 0;
386 386
387 newicsk->icsk_ca_ops = &tcp_reno; 387 newicsk->icsk_ca_ops = &tcp_init_congestion_ops;
388 388
389 tcp_set_ca_state(newsk, TCP_CA_Open); 389 tcp_set_ca_state(newsk, TCP_CA_Open);
390 tcp_init_xmit_timers(newsk); 390 tcp_init_xmit_timers(newsk);