fix endianness on connection lookup from nf_conn

the ecm_front_end_ipv4_connection_from_ct_get_and_ref function
was using the big-endian ports from the nf_conn struct as-is, but
but the ecm_db keeps its values in little endian format, causing
all connection lookups to fail.

the ecm_front_end_ipv6_connection_from_ct_get_and_ref function
was updated as well, even though it is not currently used.

this fixes the event handlers for conntrack destroy and mark.

Change-Id: I65f96824f37cccaa1e6242bf8a5fba1a8932e2c3
Signed-off-by: Nicolas Costa <ncosta@codeaurora.org>
2 files changed