vxge: fix possible NULL dereference in vxge-traffic.c
authorAlexander Beregalov <a.beregalov@gmail.com>
Thu, 23 Apr 2009 15:31:38 +0000 (15:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2009 10:02:46 +0000 (03:02 -0700)
commit4e204c1000561ddb1a62a9df857cb0457dd868a7
tree77bd131db970bd2f3b0cf985978dabd2c961d15c
parent41f8910040639eb106b1a5b5301aab79ecde4940
vxge: fix possible NULL dereference in vxge-traffic.c

If vpath is NULL then hldev is NULL also.

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Acked-by: Ram Vepa <ram.vepa@neterion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxge/vxge-traffic.c