Merge lp:~clint-fewbar/ubuntu/natty/ipvsadm/fix-activeconns-report into lp:ubuntu/natty/ipvsadm

Proposed by Clint Byrum
Status: Merged
Merged at revision: 7
Proposed branch: lp:~clint-fewbar/ubuntu/natty/ipvsadm/fix-activeconns-report
Merge into: lp:ubuntu/natty/ipvsadm
Diff against target: 41 lines (+10/-2)
3 files modified
debian/changelog (+7/-0)
debian/control (+2/-1)
libipvs/libipvs.c (+1/-1)
To merge this branch: bzr merge lp:~clint-fewbar/ubuntu/natty/ipvsadm/fix-activeconns-report
Reviewer Review Type Date Requested Status
Daniel Holbach (community) Approve
Ubuntu branches Pending
Review via email: mp+41033@code.launchpad.net

Description of the change

Tested, the patch fixes the problem on Maverick, and builds/works inside a natty schroot.

To post a comment you must log in.
Revision history for this message
Daniel Holbach (dholbach) wrote :

Good work.

I took the liberty of adding information to the changelog about where the patch came from (r64 in upstream svn) and that the patch is also being discussed in Debian, so it's easier to find out when the package can be synced again.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2009-11-10 07:35:04 +0000
+++ debian/changelog 2010-11-17 07:35:31 +0000
@@ -1,3 +1,10 @@
1ipvsadm (1:1.25.clean-1ubuntu1) natty; urgency=low
2
3 * libipvs/libipvs.c: upstream patch to fix incorrect activeconns
4 (LP: #663564)
5
6 -- Clint Byrum <clint@ubuntu.com> Tue, 16 Nov 2010 15:25:39 -0800
7
1ipvsadm (1:1.25.clean-1) unstable; urgency=low8ipvsadm (1:1.25.clean-1) unstable; urgency=low
29
3 * New upstream version (Closes: #540423)10 * New upstream version (Closes: #540423)
411
=== modified file 'debian/control'
--- debian/control 2009-11-10 07:35:04 +0000
+++ debian/control 2010-11-17 07:35:31 +0000
@@ -1,7 +1,8 @@
1Source: ipvsadm1Source: ipvsadm
2Section: net2Section: net
3Priority: extra3Priority: extra
4Maintainer: Alexander Wirt <formorer@debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Alexander Wirt <formorer@debian.org>
5Standards-Version: 3.8.36Standards-Version: 3.8.3
6Build-Depends: debhelper (>= 5), libpopt-dev, po-debconf, libnl-dev7Build-Depends: debhelper (>= 5), libpopt-dev, po-debconf, libnl-dev
78
89
=== modified file 'libipvs/libipvs.c'
--- libipvs/libipvs.c 2009-11-10 07:35:04 +0000
+++ libipvs/libipvs.c 2010-11-17 07:35:31 +0000
@@ -747,7 +747,7 @@
747 d->entrytable[i].l_threshold = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_L_THRESH]);747 d->entrytable[i].l_threshold = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_L_THRESH]);
748 d->entrytable[i].activeconns = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_ACTIVE_CONNS]);748 d->entrytable[i].activeconns = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_ACTIVE_CONNS]);
749 d->entrytable[i].inactconns = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_INACT_CONNS]);749 d->entrytable[i].inactconns = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_INACT_CONNS]);
750 d->entrytable[i].activeconns = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_PERSIST_CONNS]);750 d->entrytable[i].persistconns = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_PERSIST_CONNS]);
751 d->entrytable[i].af = d->af;751 d->entrytable[i].af = d->af;
752752
753 if (ipvs_parse_stats(&(d->entrytable[i].stats),753 if (ipvs_parse_stats(&(d->entrytable[i].stats),

Subscribers

People subscribed via source and target branches

to all changes: