]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ipvs: provide default ip_vs_conn_{in,out}_get_proto
authorSimon Horman <horms@verge.net.au>
Mon, 2 Aug 2010 15:12:44 +0000 (17:12 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 2 Aug 2010 15:12:44 +0000 (17:12 +0200)
commit5c0d2374a16fcb52096df914ee57720987677be5
treefe69482186b9a4fe208c18fffbf2c791718d0557
parent2890a1573d1ae859a4d77e2fdbecacf21f96c0db
ipvs: provide default ip_vs_conn_{in,out}_get_proto

This removes duplicate code by providing a default implementation
which is used by 3 of the 4 modules that provide these call.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/net/ip_vs.h
net/netfilter/ipvs/ip_vs_conn.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