summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2015-02-21 21:03:10 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-26 15:01:01 +0100
commit2fd8357353635ca5d0ebabda0533f04049b35a6f (patch)
tree96cdc0782d2ac24dc53651404dbdb8f447b53034 /kernel
parent7f18d6525496068dabd5f69cc3dd8d01e79c892b (diff)
downloadlwn-2fd8357353635ca5d0ebabda0533f04049b35a6f.tar.gz
lwn-2fd8357353635ca5d0ebabda0533f04049b35a6f.zip
ipvs: add missing ip_vs_pe_put in sync code
commit 528c943f3bb919aef75ab2fff4f00176f09a4019 upstream. ip_vs_conn_fill_param_sync() gets in param.pe a module reference for persistence engine from __ip_vs_pe_getbyname() but forgets to put it. Problem occurs in backup for sync protocol v1 (2.6.39). Also, pe_data usually comes in sync messages for connection templates and ip_vs_conn_new() copies the pointer only in this case. Make sure pe_data is not leaked if it comes unexpectedly for normal connections. Leak can happen only if bogus messages are sent to backup server. Fixes: fe5e7a1efb66 ("IPVS: Backup, Adding Version 1 receive capability") Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions