On Wed, 2011-01-26 at 22:28 +0100, Eric Dumazet wrote:
Le mercredi 26 janvier 2011 à 13:24 -0800, Joe Perches a écrit :
quoted
Ugly maybe, but correct, definitely.
The same can not be said of the {0}.
What about fixing real problems Joe ?
What about it? You seem to have fixed it.
Are you telling me I dont know C ?
All I'm saying is that from a style and auditing
perspective, it's better to use memset for all
structs that are exposed to user space.
Other than that, there's no issue here.
cheers, Joe