Re: [PATCH] Use BUILD_BUG_ON in inet_timewait_sock.c checks

2007-12-11 Thread David Miller
From: Pavel Emelyanov <[EMAIL PROTECTED]> Date: Fri, 07 Dec 2007 20:46:10 +0300 > Make the INET_TWDR_TWKILL_SLOTS vs sizeof(twdr->thread_slots) > check nicer. > > Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> Also applied to net-2.6.25, thanks! -- To unsubscribe from this list: send the lin

[PATCH] Use BUILD_BUG_ON in inet_timewait_sock.c checks

2007-12-07 Thread Pavel Emelyanov
Make the INET_TWDR_TWKILL_SLOTS vs sizeof(twdr->thread_slots) check nicer. Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> --- diff --git a/net/ipv4/inet_timewait_sock.c b/net/ipv4/inet_timewait_sock.c index a60b99e..d43e787 100644 --- a/net/ipv4/inet_timewait_sock.c +++ b/net/ipv4/inet_timew