net/core: __hw_addr_create_ex does not initialize sync_cnt
authorJay Vosburgh <fubar@us.ibm.com>
Fri, 31 May 2013 11:57:26 +0000 (11:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 May 2013 23:56:56 +0000 (16:56 -0700)
commit9747ba6636be8a7e8ba83a1fb231d061ca318e4f
tree66ecd4f109bbf61ce952157e4b3124c8db4ea635
parentfda3f402f446e82204266f4a3bf26912f2d55e75
net/core: __hw_addr_create_ex does not initialize sync_cnt

The sync_cnt field is not being initialized, which can result
in arbitrary values in the field.  Fixed by initializing it to zero.

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Reviewed-by: Vlad Yasevich <vyasevic@redhat.com>
Tested-by: Shawn Bohrer <sbohrer@rgmadvisors.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev_addr_lists.c