On 7/6/2017 4:22 PM, Michal Kalderon wrote: > Once in_dev_get is called to receive in_device pointer, the > in_device reference counter is increased, but if there are > no ipv4 addresses configured on the net-device the ifa_list > will be null, resulting in a flow that doesn't call in_dev_put > to decrease the ref_cnt. > This was exposed when running RoCE over ipv6 without any ipv4 > addresses configured > > Fixes: commit 8e3867310c90 ("IB/cma: Fix a race condition in iboe_addr_get_sgid()") > > Signed-off-by: Michal Kalderon <Michal.Kalderon@xxxxxxxxxx> > Signed-off-by: Ariel Elior <Ariel.Elior@xxxxxxxxxx> This was accepted into 4.13-rc, thanks. -- Doug Ledford <dledford@xxxxxxxxxx> GPG Key ID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Attachment:
signature.asc
Description: OpenPGP digital signature