diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2009-03-28 11:38:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-29 02:55:57 -0400 |
commit | f940964901aa69e28ce729d7614061d014184472 (patch) | |
tree | 4f52de427646cbff6803e4aefd68db337632d67a /drivers/net/netconsole.c | |
parent | 3e8af307bfe3b6318a1aaaf8ce18d0af7ddf2ea2 (diff) |
netfilter: fix endian bug in conntrack printks
dcc_ip is treated as a host-endian value in the first printk,
but the second printk uses %pI4 which expects a be32. This
will cause a mismatch between the debug statement and the
warning statement.
Treat as a be32 throughout and avoid some byteswapping during
some comparisions, and allow another user of HIPQUAD to bite the
dust.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netconsole.c')
0 files changed, 0 insertions, 0 deletions