net: check retval of dev_addr_init()
authorJiri Pirko <jpirko@redhat.com>
Fri, 8 May 2009 13:30:17 +0000 (13:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 May 2009 20:15:48 +0000 (13:15 -0700)
commitab9c73ccb52f40576ce017528d542eda3c6ae766
tree23ec53ffc6b55ecb9d06ee605887f5f53b73835e
parent9948bb6a6db6ad6a8bf2ccaaceb780404f1f43df
net: check retval of dev_addr_init()

Add missed checking of dev_addr_init return value in alloc_netdev_mq.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
 net/core/dev.c |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c