git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad1984e
)
[NET]: should explicitely initialize atomic_t field in struct dst_ops
author
Eric Dumazet
<dada1@cosmosbay.com>
Thu, 31 Jan 2008 04:07:45 +0000
(20:07 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 1 Feb 2008 03:27:23 +0000
(19:27 -0800)
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>
No differences found