commit | 023ab4f62c261cbb3f56dbb974d5c197084cba1f | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Fri Apr 19 13:16:10 2013 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri Apr 19 13:26:10 2013 -0700 |
tree | f882ca4bd41bacc68695827da6a303349ca4c38f | |
parent | 8a73eceeae84f784e038487e9de59d9824fd5b0f [diff] |
ct_veth_ctl(): fix checks for veth_dev members As Coverity points out, struct veth_dev dev* members are not pointers, but arrays of chars. So checking them for NULL doesn't make sense. Fix (using store_netif() as an example). Reported by Coverity, CID 996846. Cc: Glauber Costa <glommer@openvz.org> Signed-off-by: Kir Kolyshkin <kir@openvz.org>