commit | e242297055f906e8e225fb95a8edbc88e9052634 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <dada1@cosmosbay.com> | Wed Jan 30 20:07:45 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 31 19:27:23 2008 -0800 |
tree | d0fb2d3ba0273bd621681b8de7621ee9b73baf44 | |
parent | ad1984e844fb6edaa8b9984be23669f4e19168be [diff] |
[NET]: should explicitely initialize atomic_t field in struct dst_ops 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 <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>