Skip to content
Commit 9747ba66 authored by Jay Vosburgh's avatar Jay Vosburgh Committed by David S. Miller
Browse files

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: default avatarJay Vosburgh <fubar@us.ibm.com>
Reviewed-by: default avatarVlad Yasevich <vyasevic@redhat.com>
Tested-by: default avatarShawn Bohrer <sbohrer@rgmadvisors.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fda3f402
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment