diff --git a/net/core/dev.c b/net/core/dev.c index 6cfc1238c4a6979c1d94599f990aae6c9d95f50d..95161054c4d1d27080b367ababeccce5d100bf1d 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -2900,7 +2900,7 @@ int __dev_addr_add(struct dev_addr_list **list, int *count, } } - da = kmalloc(sizeof(*da), GFP_ATOMIC); + da = kzalloc(sizeof(*da), GFP_ATOMIC); if (da == NULL) return -ENOMEM; memcpy(da->da_addr, addr, alen);