Patchwork BUG: unable to handle kernel NULL pointer dereference at 000000000000002c

login
register
mail settings
Submitter Stefan Priebe - Profihost AG
Date Feb. 6, 2012, 11:31 a.m.
Message ID <4F2FBA16.8010400@profihost.ag>
Download mbox | patch
Permalink /patch/139712/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Stefan Priebe - Profihost AG - Feb. 6, 2012, 11:31 a.m.
Hi Greg, Hi Eric,

>> how to get an allyesconfig? Or just doing something like:
>> rm -f .config; /usr/bin/yes | make oldconfig
>
> Save your .config, since next step will destroy it :
>
> make allyesconfig
>
> Then build :
>
> make   $your_favorite_build_options

here is the missing patch attached to have a fine build with
allyesconfig.allyesconfig

Stefan
Stefan Priebe - Profihost AG - Feb. 8, 2012, 8:24 a.m.
Hi Greg, Hi Eric,

Am 06.02.2012 12:31, schrieb Stefan Priebe - Profihost AG:
>> make   $your_favorite_build_options
> 
> here is the missing patch attached to have a fine build with
> allyesconfig.allyesconfig

Amy news on my patches? Can they get integrated into 3.0.X stable series?

Stefan
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Greg KH - Feb. 8, 2012, 4:49 p.m.
On Wed, Feb 08, 2012 at 09:24:24AM +0100, Stefan Priebe - Profihost AG wrote:
> Hi Greg, Hi Eric,
> 
> Am 06.02.2012 12:31, schrieb Stefan Priebe - Profihost AG:
> >> make   $your_favorite_build_options
> > 
> > here is the missing patch attached to have a fine build with
> > allyesconfig.allyesconfig
> 
> Amy news on my patches? Can they get integrated into 3.0.X stable series?

I will consider them after this next release goes out, and I get a
chance to review and test them.

Don't worry, they are in my "to-review" queue, they are not lost.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Feb. 8, 2012, 8:19 p.m.
From: Stefan Priebe - Profihost AG <s.priebe@profihost.ag>
Date: Wed, 08 Feb 2012 09:24:24 +0100

> Hi Greg, Hi Eric,
> 
> Am 06.02.2012 12:31, schrieb Stefan Priebe - Profihost AG:
>>> make   $your_favorite_build_options
>> 
>> here is the missing patch attached to have a fine build with
>> allyesconfig.allyesconfig
> 
> Amy news on my patches? Can they get integrated into 3.0.X stable series?

Can you please be patient?  This isn't the only thing going on in our
lives right now.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Stefan Priebe - Profihost AG - Feb. 9, 2012, 6:43 a.m.
Am 08.02.2012 17:49, schrieb Greg KH:
> On Wed, Feb 08, 2012 at 09:24:24AM +0100, Stefan Priebe - Profihost AG wrote:
>> Hi Greg, Hi Eric,
>>
>> Am 06.02.2012 12:31, schrieb Stefan Priebe - Profihost AG:
>>>> make   $your_favorite_build_options
>>>
>>> here is the missing patch attached to have a fine build with
>>> allyesconfig.allyesconfig
>>
>> Amy news on my patches? Can they get integrated into 3.0.X stable series?
> 
> I will consider them after this next release goes out, and I get a
> chance to review and test them.
> 
> Don't worry, they are in my "to-review" queue, they are not lost.

Thanks! Just wanted to know that.

Stefan

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

From fdfbdcc7c4698225e7d185f65f3fc176cc22116f Mon Sep 17 00:00:00 2001
From: Stefan Priebe <s.priebe@profihost.ag>
Date: Mon, 6 Feb 2012 12:26:03 +0100
Subject: [PATCH] - missing fixes for 0002-net-Abstract-dst-neighbour-accesses-behind-helpers.patch

---
 net/decnet/dn_neigh.c |    6 +++---
 net/decnet/dn_route.c |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net/decnet/dn_neigh.c b/net/decnet/dn_neigh.c
index 2a90341..9810610 100644
--- a/net/decnet/dn_neigh.c
+++ b/net/decnet/dn_neigh.c
@@ -227,7 +227,7 @@  static int dn_neigh_output_packet(struct sk_buff *skb)
 static int dn_long_output(struct sk_buff *skb)
 {
 	struct dst_entry *dst = skb_dst(skb);
-	struct neighbour *neigh = dst->neighbour;
+	struct neighbour *neigh = dst_get_neighbour(dst);
 	struct net_device *dev = neigh->dev;
 	int headroom = dev->hard_header_len + sizeof(struct dn_long_packet) + 3;
 	unsigned char *data;
@@ -274,7 +274,7 @@  static int dn_long_output(struct sk_buff *skb)
 static int dn_short_output(struct sk_buff *skb)
 {
 	struct dst_entry *dst = skb_dst(skb);
-	struct neighbour *neigh = dst->neighbour;
+	struct neighbour *neigh = dst_get_neighbour(dst);
 	struct net_device *dev = neigh->dev;
 	int headroom = dev->hard_header_len + sizeof(struct dn_short_packet) + 2;
 	struct dn_short_packet *sp;
@@ -318,7 +318,7 @@  static int dn_short_output(struct sk_buff *skb)
 static int dn_phase3_output(struct sk_buff *skb)
 {
 	struct dst_entry *dst = skb_dst(skb);
-	struct neighbour *neigh = dst->neighbour;
+	struct neighbour *neigh = dst_get_neighbour(dst);
 	struct net_device *dev = neigh->dev;
 	int headroom = dev->hard_header_len + sizeof(struct dn_short_packet) + 2;
 	struct dn_short_packet *sp;
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c
index df69e92..4bb1456 100644
--- a/net/decnet/dn_route.c
+++ b/net/decnet/dn_route.c
@@ -754,7 +754,7 @@  static int dn_forward(struct sk_buff *skb)
 	struct dst_entry *dst = skb_dst(skb);
 	struct dn_dev *dn_db = rcu_dereference(dst->dev->dn_ptr);
 	struct dn_route *rt;
-	struct neighbour *neigh = dst->neighbour;
+	struct neighbour *neigh = dst_get_neighbour(dst);
 	int header_len;
 #ifdef CONFIG_NETFILTER
 	struct net_device *dev = skb->dev;
-- 
1.7.1