Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Don't use AX25 pointer for netmap#53

Open
aryansrivastava-atl wants to merge 1 commit into
alliedtelesis:19a7eb6a-atlalliedtelesis/netmap:19a7eb6a-atlfrom
aryansrivastava-atl:markaryansrivastava-atl/netmap:markCopy head branch name to clipboard
Open

Don't use AX25 pointer for netmap#53
aryansrivastava-atl wants to merge 1 commit into
alliedtelesis:19a7eb6a-atlalliedtelesis/netmap:19a7eb6a-atlfrom
aryansrivastava-atl:markaryansrivastava-atl/netmap:markCopy head branch name to clipboard

Conversation

@aryansrivastava-atl

Copy link
Copy Markdown

Instead of using a pointer for a protocol we don't use (AX25), use the ml_priv pointer in the net_device structure. This is intended as a private pointer, so it matches what netmap wants. There is still a danger that another protocol may want this pointer for its own private data, but this is detected and reported if it happens.

Even though the pointer is now ml_priv instaed of ax25, the old #ifdef is still used to make the patch as small as possible.

Instead of using a pointer for a protocol we don't use (AX25), use the
ml_priv pointer in the net_device structure. This is intended as a
private pointer, so it matches what netmap wants. There is still a
danger that another protocol may want this pointer for its own private
data, but this is detected and reported if it happens.

Even though the pointer is now ml_priv instaed of ax25, the old #ifdef
is still used to make the patch as small as possible.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.