]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e343dbb51efe55c2d0c22d8119dd7352639180a
tree23ec53ffc6b55ecb9d06ee605887f5f53b73835e
parent4619eb55a7f81f3823612b6a579a07dd692a18ac
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