[PATCH 3.16 049/294] IB/cma: Fix reference count leak when no ipv4 addresses are set

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: "Kalderon, Michal" commit 963916fdb3e5ad4af57ac959b5a03bf23f7568ca upstream. Once in_dev_get is called to receive in_device pointer, the in_device reference

[PATCH 3.16 049/294] IB/cma: Fix reference count leak when no ipv4 addresses are set

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: "Kalderon, Michal" commit 963916fdb3e5ad4af57ac959b5a03bf23f7568ca upstream. Once in_dev_get is called to receive in_device pointer, the in_device reference counter is increased, but if there