]> err.no Git - linux-2.6/commit
[NETFILTER] conntrack_netlink: Fix endian issue with status from userspace
authorHarald Welte <laforge@netfilter.org>
Tue, 11 Oct 2005 03:52:51 +0000 (20:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Oct 2005 03:52:51 +0000 (20:52 -0700)
commitd000eaf7720cb12cd03cd3d55f71be44357d27a9
treecbdb3e64a427adedf7f6ec4a75b338d1731bc9ee
parentb3a91d037a2575040f9b6a483f60c407a3d80368
[NETFILTER] conntrack_netlink: Fix endian issue with status from userspace

When we send "status" from userspace, we forget to convert the endianness.
This patch adds the reqired conversion.  Thanks to Pablo Neira for
discovering this.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_netlink.c