Re: [NET]: should explicitely initialize atomic_t field in struct dst_ops
From: David Miller <davem@davemloft.net>
Date: 2008-01-31 04:07:52
From: David Miller <davem@davemloft.net>
Date: 2008-01-31 04:07:52
From: Eric Dumazet <redacted> Date: Thu, 24 Jan 2008 16:11:17 +0100
All but one struct dst_ops static initializations miss explicit initialization of entries field. As this field is atomic_t, we should use ATOMIC_INIT(0), and not rely on atomic_t implementation. Signed-off-by: Eric Dumazet <redacted>
Applied, thanks Eric.