summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMahesh Bandewar <maheshb@google.com>2015-01-24 21:53:43 -0800
committerDavid S. Miller <davem@davemloft.net>2015-01-25 00:24:19 -0800
commit2aab9525c365048e55b40102c9b69dcb43425d8d (patch)
tree37cdd1cf7aace46590eeffad43ab2de51e1189fe /net
parent6b8d9117ccb4f81b1244aafa7bc70ef8fa45fc49 (diff)
downloadop-kernel-dev-2aab9525c365048e55b40102c9b69dcb43425d8d.zip
op-kernel-dev-2aab9525c365048e55b40102c9b69dcb43425d8d.tar.gz
ipvlan: fix incorrect usage of IS_ERR() macro in IPv6 code path.
The ip6_route_output() always returns a valid dst pointer unlike in IPv4 case. So the validation has to be different from the IPv4 path. Correcting that error in this patch. This was picked up by a static checker with a following warning - drivers/net/ipvlan/ipvlan_core.c:380 ipvlan_process_v6_outbound() warn: 'dst' isn't an ERR_PTR Signed-off-by: Mahesh Bandewar <maheshb@google.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud