On 08/03/2015 09:09 AM, Matan Barak wrote: > Separate the cleanup and release IB cache functions. > The cleanup function delete all GIDs and unregister the event channel, > while the release function frees all memory. The cleanup function is > called after all clients were removed (in the device un-registration > process). > > The release function is called after the device was put. > Although vendor drivers aren't expected to use IB cache in their > removal process, we postpone freeing the cache in order to avoid > possible use-after-free errors. > > Squash-into: 'IB/core: Add RoCE GID table management' > Signed-off-by: Matan Barak <matanb@xxxxxxxxxxxx> I squashed this after applying Jason's follow-up patch first in the series and fixes up the conflicts. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: 0E572FDD
Attachment:
signature.asc
Description: OpenPGP digital signature