commit | 5781b2356cbecb0b73b06ec8c3897cabdfdd0928 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Sun Dec 13 19:32:39 2009 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Dec 13 19:32:39 2009 -0800 |
tree | 7da5613b163aa7a942561aabc0284950583ee314 | |
parent | e1187b3be72be59625e445b186007e6eae27fef1 [diff] |
udp: udp_lib_get_port() fix Now we can have a large udp hash table, udp_lib_get_port() loop should be converted to a do {} while (cond) form, or we dont enter it at all if hash table size is exactly 65536. Reported-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>