Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vmnetInt.h #297

Open
wants to merge 1 commit into
base: workstation-17.5.1
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions vmnet-only/vmnetInt.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
compat_skb_set_network_header(skb, sizeof (struct ethhdr)), \
dev_queue_xmit(skb) \
)
#define dev_lock_list() read_lock(&dev_base_lock)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does change work for all Kernel versions or should it depend on a particular version?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it changes most of them.

#define dev_unlock_list() read_unlock(&dev_base_lock)
#define read_lock_list() rcu_read_lock()
#define read_unlock_list() rcu_read_unlock()


extern struct proto vmnet_proto;
Expand Down