[NETFILTER] bug: skb->protocol is already net-endian
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 3 Nov 2006 08:59:17 +0000 (00:59 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 5 Nov 2006 22:11:29 +0000 (14:11 -0800)
commitfebf0a431e42f5a1fdb2b763273700610552ddcc
treef855db5d5e01045eae4881d8c020ac8c524460c4
parentd1208b999dd367b72168cc3c7f8d8d2c95143c67
[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: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nfnetlink_log.c
net/netfilter/nfnetlink_queue.c