Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Fix hung in test "rmmod hv_netvsc" #740

Open
wants to merge 2 commits into
base: 4.3.5
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions hv-rhel6.x/hv/provider.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
1 change: 1 addition & 0 deletions hv-rhel7.x/hv/provider.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down