commit | c16a98ed91597b40b22b540c6517103497ef8e74 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Wed Nov 23 15:49:31 2011 -0500 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 23 15:49:31 2011 -0500 |
tree | 55e607b5facf5f29f58484b7c6662c1c8e1cb7ba | |
parent | 4d65a2465f6f2694de67777a8aedb1272f473979 [diff] |
ipv6: tcp: fix panic in SYN processing commit 72a3effaf633bc ([NET]: Size listen hash tables using backlog hint) added a bug allowing inet6_synq_hash() to return an out of bound array index, because of u16 overflow. Bug can happen if system admins set net.core.somaxconn & net.ipv4.tcp_max_syn_backlog sysctls to values greater than 65536 Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>