Skip to contentSkip to conversation

LVS changes in 2.6.38

DISCUSSION Simon Horman 1 participant 1 message Mar 21, 2011 IPVS

lore
Share & tools
lore

Simon Horman

author maintainer Acked-by David S. Miller Acked-by Greg Kroah-Hartman Acked-by Evgeniy Polyakov
#0 lore raw

Hi,

in an effort to keep more people up to date on recent developments to LVS I post a report of changes for each kernel release. This report looks at the changes to LVS in the 2.6.38 kernel.

In all 2.6.38 was a rather quiet release for LVS compared to the previous few releases.

Features
* There were no new features added

Bug Fixes
* Julian fixed a locking bug which manifests if destinations are updated (frequently). This problem was introduced in 2.6.37 and a -stable fix is included in 2.6.37.4.

Clean-Ups
* There were a small number of clean-ups as per the git log below

There has been an very large amount of work on LVS for 2.6.39, I suspect a record number of patches. The new features include a new synchronisation protocol and support for network namespaces. Special thanks to Hans and Julian for their work in this area. There have also been a large number of clean-ups, thanks to everyone who contributed. If you are interested in any of these changes I suggest looking at 2.6.39-rc1 once it is released for a taste of things to come.

This report was generated with the help of the following git log:

# git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
# cd linux-2.6
# git log --no-merges v2.6.37..v2.6.38 \
	net/netfilter/ipvs/ include/net/ip_vs.h include/linux/ip_vs.h

commit ff75f40f44ae9b79d520bf32a05d35af74a805c0

Author: Julian Anastasov <[email protected]>
Date:   Tue Feb 22 10:40:25 2011 +0200

ipvs: fix dst_lock locking on dest update

Fix dst_lock usage in __ip_vs_update_dest. We need
_bh locking because destination is updated in user context. Can cause lockups on frequent destination updates. Problem reported by Simon Kirby. Bug was introduced in 2.6.37 from the "ipvs: changes for local real server" change.

commit afe2c511fb2d75f1515081ff1be15bd79cfe722d

Author: Tejun Heo <[email protected]>
Date:   Tue Dec 14 16:21:17 2010 +0100

workqueue: convert cancel_rearming_delayed_work[queue]() users to cancel_delayed_work_sync()

cancel_rearming_delayed_work[queue]() has been superceded by cancel_delayed_work_sync() quite some time ago. Convert all the in-kernel users. The conversions are completely equivalent and trivial.

Cc Jeff Garzik <[email protected]>
Cc Benjamin Herrenschmidt <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Anton Vorontsov <[email protected]>
Cc David Woodhouse <[email protected]>
Cc "J. Bruce Fields" <[email protected]>
Cc Neil Brown <[email protected]>
Cc Alex Elder <[email protected]>
Cc Christoph Lameter <[email protected]>
Cc Pekka Enberg <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Trond Myklebust <[email protected]>

commit 5811662b15db018c740c57d037523683fd3e6123

Author: Changli Gao <[email protected]>
Date:   Fri Nov 12 18:43:55 2010 +0000

net: use the macros defined for the members of flowi

Use the macros defined for the members of flowi to clean the code up.

commit c753796769e4fb0cd813b6e5801b3c01f4681d4f

Author: David S. Miller <[email protected]>
Date:   Thu Nov 11 17:07:48 2010 -0800

ipv4: Make rt->fl.iif tests lest obscure.

When we test rt->fl.iif against zero, we're seeing if it's an output or an input route.

Make that explicit with some helper functions.