[kernel] r13301 - in dists/lenny/linux-2.6/debian: . patches/features/all/openvz patches/series

Maximilian Attems maks at alioth.debian.org
Mon Mar 30 15:19:11 UTC 2009


Author: maks
Date: Mon Mar 30 15:19:09 2009
New Revision: 13301

Log:
openvz add patch fixing udev in container

latest missing openvz fix, verified to not break abi.

Added:
   dists/lenny/linux-2.6/debian/patches/features/all/openvz/0074-NETLINK-disable-netns-broadcast-filtering.patch
   dists/lenny/linux-2.6/debian/patches/series/16-extra
Modified:
   dists/lenny/linux-2.6/debian/changelog

Modified: dists/lenny/linux-2.6/debian/changelog
==============================================================================
--- dists/lenny/linux-2.6/debian/changelog	(original)
+++ dists/lenny/linux-2.6/debian/changelog	Mon Mar 30 15:19:09 2009
@@ -1,3 +1,10 @@
+linux-2.6 (2.6.26-16) UNRELEASED; urgency=low
+
+  * [openvz] 5dcfcf5 NETLINK: disable netns broadcast filtering.
+    (closes: #520551)
+
+ -- maximilian attems <maks at debian.org>  Mon, 30 Mar 2009 17:11:49 +0200
+
 linux-2.6 (2.6.26-15) stable; urgency=high
 
   * Switch out mips/llseek regression fix for the less invasive one

Added: dists/lenny/linux-2.6/debian/patches/features/all/openvz/0074-NETLINK-disable-netns-broadcast-filtering.patch
==============================================================================
--- (empty file)
+++ dists/lenny/linux-2.6/debian/patches/features/all/openvz/0074-NETLINK-disable-netns-broadcast-filtering.patch	Mon Mar 30 15:19:09 2009
@@ -0,0 +1,37 @@
+From 5dcfcf5defb9a1037de717f56a54f8cbb461e96d Mon Sep 17 00:00:00 2001
+From: Konstantin Khlebnikov <khlebnikov at openvz.org>
+Date: Tue, 10 Mar 2009 15:55:35 +0300
+Subject: [PATCH] NETLINK: disable netns broadcast filtering
+
+There only one uevent_sock in init_net for all VE.
+Broadcasts allready filtered by exec_env compare, drop netns check.
+
+http://bugzilla.openvz.org/show_bug.cgi?id=1195
+
+http://git.openvz.org/?p=linux-2.6.24-openvz;a=commit;h=0474535acfde6a
+
+Signed-off-by: Alexey Dobriyan <adobriyan at openvz.org>
+Signed-off-by: Konstantin Khlebnikov <khlebnikov at openvz.org>
+Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
+---
+ net/netlink/af_netlink.c |    2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
+index d30766c..84e9f7c 100644
+--- a/net/netlink/af_netlink.c
++++ b/net/netlink/af_netlink.c
+@@ -971,8 +971,10 @@ static inline int do_one_broadcast(struct sock *sk,
+ 	if (!ve_accessible_strict(get_exec_env(), sk->owner_env))
+ 		goto out;
+ 
++#ifndef CONFIG_VE
+ 	if (!net_eq(sock_net(sk), p->net))
+ 		goto out;
++#endif
+ 
+ 	if (p->failure) {
+ 		netlink_overrun(sk);
+-- 
+1.6.2.1
+

Added: dists/lenny/linux-2.6/debian/patches/series/16-extra
==============================================================================
--- (empty file)
+++ dists/lenny/linux-2.6/debian/patches/series/16-extra	Mon Mar 30 15:19:09 2009
@@ -0,0 +1 @@
++ features/all/openvz/0074-NETLINK-disable-netns-broadcast-filtering.patch featureset=openvz



More information about the Kernel-svn-changes mailing list