summaryrefslogtreecommitdiff
path: root/link.h
AgeCommit message (Expand)AuthorFilesLines
2013-12-18debian: define SPEED_UNKNOWN if missing in linux/ethtool.hJesper Dangaard Brouer1-0/+4
2013-06-04link: add link management functionsDaniel Borkmann1-0/+18
08-22 14:26:54 -0400 commit23d70503ee187819a3775c7ac73f17c5bfe3fad0 (patch) tree6a1c01eb9faa567cc2d9e050d9c9738a9c213391 parent8303f683b161467b6595c153c8751b80f9df3508 (diff)
IB/core: Fix possible memory leak in cma_resolve_iboe_route()
'work' and 'route->path_rec' are malloced in cma_resolve_iboe_route() and should be freed before leaving from the error handling cases, otherwise it will cause memory leak. Fixes: 200298326b27 ('IB/core: Validate route when we init ah') Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com> Reviewed-by: Haggai Eran <haggaie@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat