Skip to content
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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment