Skip to content
Snippets Groups Projects
Commit febf0a43 authored by Al Viro's avatar Al Viro Committed by David S. Miller
Browse files

[NETFILTER] bug: skb->protocol is already net-endian


htons() is not needed (and no, it's not misspelled ntohs() -
userland expects net-endian here).

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d1208b99
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment