| From stable-bounces@linux.kernel.org Wed Mar 7 18:50:04 2007 |
| From: Eric Dumazet <dada1@cosmosbay.com> |
| Date: Wed, 07 Mar 2007 18:48:44 -0800 (PST) |
| Subject: Fix timewait jiffies |
| To: stable@kernel.org |
| Cc: bunk@stusta.de |
| Message-ID: <20070307.184844.39158390.davem@davemloft.net> |
| |
| From: Eric Dumazet <dada1@cosmosbay.com> |
| |
| [INET]: twcal_jiffie should be unsigned long, not int |
| |
| Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> |
| Signed-off-by: David S. Miller <davem@davemloft.net> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
| |
| --- |
| include/net/inet_timewait_sock.h | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| --- a/include/net/inet_timewait_sock.h |
| +++ b/include/net/inet_timewait_sock.h |
| @@ -66,7 +66,7 @@ struct inet_hashinfo; |
| struct inet_timewait_death_row { |
| /* Short-time timewait calendar */ |
| int twcal_hand; |
| - int twcal_jiffie; |
| + unsigned long twcal_jiffie; |
| struct timer_list twcal_timer; |
| struct hlist_head twcal_row[INET_TWDR_RECYCLE_SLOTS]; |
| |