libcxgb: fix error check for ip6_route_output()
authorVarun Prakash <varun@chelsio.com>
Tue, 3 Jan 2017 15:55:48 +0000 (21:25 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jan 2017 18:25:53 +0000 (13:25 -0500)
commita9a8cdb368d99bb655b5cdabea560446db0527cc
treee17849b4cb87bae42f1592f731e66ee5265cc1ab
parent63dfb0dac9055145db85ce764355aef2f563739a
libcxgb: fix error check for ip6_route_output()

ip6_route_output() never returns NULL so
check dst->error instead of !dst.

Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c