[INET]: Use BUILD_BUG_ON in inet_timewait_sock.c checks
authorPavel Emelyanov <xemul@openvz.org>
Tue, 11 Dec 2007 10:12:36 +0000 (02:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:57:08 +0000 (14:57 -0800)
commit95c9382a345262637d3e5c7da5f09f0f46daa930
tree2572e9c338dbab9517cdd6b61174477b117796f9
parent1f9e636ea21bd648a5cbd2f744a1d39a5e183b20
[INET]: Use BUILD_BUG_ON in inet_timewait_sock.c checks

Make the INET_TWDR_TWKILL_SLOTS vs sizeof(twdr->thread_slots)
check nicer.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_timewait_sock.c