diff --git a/hv-rhel6.x/hv/provider.c b/hv-rhel6.x/hv/provider.c index 38eb8fcc..4dbac9bd 100644 --- a/hv-rhel6.x/hv/provider.c +++ b/hv-rhel6.x/hv/provider.c @@ -2778,6 +2778,7 @@ static int start_bind_nic(void) continue; for (ifa = (idev)->ifa_list; ifa && !(ifa->ifa_flags&IFA_F_SECONDARY); ifa = ifa->ifa_next) hvnd_try_bind_nic(dev->dev_addr, ifa->ifa_address); + in_dev_put(idev); } rtnl_unlock(); diff --git a/hv-rhel7.x/hv/provider.c b/hv-rhel7.x/hv/provider.c index cfeee7be..8b5604c5 100644 --- a/hv-rhel7.x/hv/provider.c +++ b/hv-rhel7.x/hv/provider.c @@ -2864,6 +2864,7 @@ static int start_bind_nic(void) for (ifa = (idev)->ifa_list; ifa && !(ifa->ifa_flags&IFA_F_SECONDARY); ifa = ifa->ifa_next) { hvnd_try_bind_nic(dev->dev_addr, ifa->ifa_address); } + in_dev_put(idev); } rtnl_unlock();