]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/netfilter/ipvs/ip_vs_xmit.c
ipvs: provide address family for debugging
authorJulian Anastasov <ja@ssi.bg>
Sun, 17 Oct 2010 13:46:17 +0000 (16:46 +0300)
committerSimon Horman <horms@verge.net.au>
Thu, 21 Oct 2010 09:04:43 +0000 (11:04 +0200)
commit0d79641a96d612aaa6d57a4d4f521d7ed9c9ccdd
tree9783497ace4f8ff8eeac24524ecb93012166c60d
parent3233759be7eeca9998c514b8f49e8cf2b85e64d3
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>
include/net/ip_vs.h
net/netfilter/ipvs/ip_vs_core.c
net/netfilter/ipvs/ip_vs_proto.c
net/netfilter/ipvs/ip_vs_proto_ah_esp.c
net/netfilter/ipvs/ip_vs_proto_sctp.c
net/netfilter/ipvs/ip_vs_proto_tcp.c
net/netfilter/ipvs/ip_vs_proto_udp.c
net/netfilter/ipvs/ip_vs_xmit.c