/[linux-patches]/genpatches-2.6/trunk/2.6.14/1168_5_rtnlgrp-definitions-fix.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.14/1168_5_rtnlgrp-definitions-fix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 292 - (show annotations) (download) (as text)
Tue Jan 31 21:50:53 2006 UTC (14 years, 10 months ago) by johnm
File MIME type: text/x-diff
File size: 1733 byte(s)
Large update - thanks goes to Kerin Millar for the legwork.
1 From: Kristian Slavov <kristian.slavov@nomadiclab.com>
2 Date: Tue, 20 Dec 2005 00:59:18 +0000 (-0800)
3 Subject: [PATCH] Fix RTNLGRP definitions in rtnetlink.h
4 X-Git-Url: http://kernel.org/git/?p=linux/kernel/git/gregkh/linux-2.6.14.y.git;a=commitdiff;h=101d4c3fd9466a43e7c43e627979246c53cdf33c
5
6 [PATCH] Fix RTNLGRP definitions in rtnetlink.h
7
8 I reported a problem and gave hints to the solution, but nobody seemed
9 to react. So I prepared a patch against 2.6.14.4.
10
11 Tested on 2.6.14.4 with "ip monitor addr" and with the program
12 attached, while adding and removing IPv6 address. Both programs didn't
13 receive any messages. Tested 2.6.14.4 + this patch, and both programs
14 received add and remove messages.
15
16 Signed-off-by: Kristian Slavov <kristian.slavov@nomadiclab.com>
17 Acked-by: Jamal Hadi salim <hadi@cyberus.ca>
18 ACKed-by: Patrick McHardy <kaber@trash.net>
19 Signed-off-by: David S. Miller <davem@davemloft.net>
20 Signed-off-by: Chris Wright <chrisw@redhat.com>
21 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
22 ---
23
24 --- a/include/linux/rtnetlink.h
25 +++ b/include/linux/rtnetlink.h
26 @@ -866,6 +866,7 @@ enum rtnetlink_groups {
27 #define RTNLGRP_IPV4_MROUTE RTNLGRP_IPV4_MROUTE
28 RTNLGRP_IPV4_ROUTE,
29 #define RTNLGRP_IPV4_ROUTE RTNLGRP_IPV4_ROUTE
30 + RTNLGRP_NOP1,
31 RTNLGRP_IPV6_IFADDR,
32 #define RTNLGRP_IPV6_IFADDR RTNLGRP_IPV6_IFADDR
33 RTNLGRP_IPV6_MROUTE,
34 @@ -876,8 +877,11 @@ enum rtnetlink_groups {
35 #define RTNLGRP_IPV6_IFINFO RTNLGRP_IPV6_IFINFO
36 RTNLGRP_DECnet_IFADDR,
37 #define RTNLGRP_DECnet_IFADDR RTNLGRP_DECnet_IFADDR
38 + RTNLGRP_NOP2,
39 RTNLGRP_DECnet_ROUTE,
40 #define RTNLGRP_DECnet_ROUTE RTNLGRP_DECnet_ROUTE
41 + RTNLGRP_NOP3,
42 + RTNLGRP_NOP4,
43 RTNLGRP_IPV6_PREFIX,
44 #define RTNLGRP_IPV6_PREFIX RTNLGRP_IPV6_PREFIX
45 __RTNLGRP_MAX

  ViewVC Help
Powered by ViewVC 1.1.20