diff options
author | Julian Anastasov <ja@ssi.bg> | 2010-10-17 16:46:17 +0300 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2010-10-21 11:04:43 +0200 |
commit | 0d79641a96d612aaa6d57a4d4f521d7ed9c9ccdd (patch) | |
tree | 9783497ace4f8ff8eeac24524ecb93012166c60d /net/netfilter/ipvs/ip_vs_proto_sctp.c | |
parent | 3233759be7eeca9998c514b8f49e8cf2b85e64d3 (diff) | |
download | op-kernel-dev-0d79641a96d612aaa6d57a4d4f521d7ed9c9ccdd.zip op-kernel-dev-0d79641a96d612aaa6d57a4d4f521d7ed9c9ccdd.tar.gz |
ipvs: provide address family for debugging
As skb->protocol is not valid in LOCAL_OUT add
parameter for address family in packet debugging functions.
Even if ports are not present in AH and ESP change them to
use ip_vs_tcpudp_debug_packet to show at least valid addresses
as before. This patch removes the last user of skb->protocol
in IPVS.
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_proto_sctp.c')
-rw-r--r-- | net/netfilter/ipvs/ip_vs_proto_sctp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_proto_sctp.c b/net/netfilter/ipvs/ip_vs_proto_sctp.c index 9ab5232..d254345 100644 --- a/net/netfilter/ipvs/ip_vs_proto_sctp.c +++ b/net/netfilter/ipvs/ip_vs_proto_sctp.c @@ -176,7 +176,7 @@ sctp_csum_check(int af, struct sk_buff *skb, struct ip_vs_protocol *pp) if (val != cmp) { /* CRC failure, dump it. */ - IP_VS_DBG_RL_PKT(0, pp, skb, 0, + IP_VS_DBG_RL_PKT(0, af, pp, skb, 0, "Failed checksum for"); return 0; } |