Skip to content
Commit ab9c73cc authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

net: check retval of dev_addr_init()



Add missed checking of dev_addr_init return value in alloc_netdev_mq.

Signed-off-by: default avatarJiri Pirko <jpirko@redhat.com>

 net/core/dev.c |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9948bb6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment