login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
11
Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, ip6_route_output, rt6_fill_node+0x175
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: John Gumb
Subject:
Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, ip6_route_output, rt6_fill_node+0x175
Date: Monday, August 11, 2008 - 12:41 am
looks good to me. thanks people. John On Fri, 2008-08-08 at 00:57 -0400, Brian Haley wrote:
quoted text
> Alexey Dobriyan wrote: > > On Thu, Aug 07, 2008 at 07:00:56PM +0200, John Gumb wrote: > >> Scenario: no ipv6 default route set. > > > >> # ip -f inet6 route get fec0::1 > >> > >> BUG: unable to handle kernel NULL pointer dereference at 00000000 > >> IP: [<c0369b85>] rt6_fill_node+0x175/0x3b0 > >> EIP is at rt6_fill_node+0x175/0x3b0 > > > > 0xffffffff80424dd3 is in rt6_fill_node (net/ipv6/route.c:2191). > > 2186 } else > > 2187 #endif > > 2188 NLA_PUT_U32(skb, RTA_IIF, iif); > > 2189 } else if (dst) { > > 2190 struct in6_addr saddr_buf; > > 2191 ====> if (ipv6_dev_get_saddr(ip6_dst_idev(&rt->u.dst)->dev, > > ^^^^^^^^^^^^^^^^^^^^^^^^ > > NULL > > > > 2192 dst, 0, &saddr_buf) == 0) > > 2193 NLA_PUT(skb, RTA_PREFSRC, 16, &saddr_buf); > > 2194 } > > The commit that changed this can't be reverted easily, but the patch > below works for me. > > Fix NULL de-reference in rt6_fill_node() when there's no IPv6 input > device present in the dst entry. > > Signed-off-by: Brian Haley <brian.haley@hp.com> > >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, ip6_rou ...
, John Gumb
, (Thu Aug 7, 10:00 am)
Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, ip6 ...
, Alexey Dobriyan
, (Thu Aug 7, 1:37 pm)
Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, ip6 ...
, Brian Haley
, (Thu Aug 7, 9:57 pm)
Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, ip6 ...
, John Gumb
, (Mon Aug 11, 12:41 am)
Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, ip6 ...
, Eugene Teo
, (Mon Aug 11, 1:40 am)
Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, ip6 ...
, Eugene Teo
, (Mon Aug 11, 4:03 am)
Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, ip6 ...
, David Miller
, (Mon Aug 11, 1:50 pm)
Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, ip6 ...
, Eugene Teo
, (Mon Aug 11, 5:13 pm)
Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, ip6 ...
, Brian Haley
, (Mon Aug 11, 5:41 pm)
Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, ip6 ...
, Eugene Teo
, (Mon Aug 11, 5:41 pm)
Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26, ip6 ...
, Eugene Teo
, (Mon Aug 11, 6:40 pm)
RE: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26,ip6_ ...
, John Gumb
, (Tue Aug 12, 2:11 am)
Re: OOPS, ip -f inet6 route get fec0::1, linux-2.6.26,ip6_ ...
, David Miller
, (Wed Aug 13, 2:01 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Josef Sipek
Re: [PATCH 01/24] Unionfs: Documentation
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Oleg Nesterov
Re: init's children list is long and slows reaping children.
Randy Dunlap
Re: mmotm 2010-06-11-16-40 uploaded
Pete Clements
2.6.20-git8 fails compile -- net/built-in.o __ipv6_addr_type
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Christian Stimming
git-gui: Fix broken revert confirmation.
Junio C Hamano
Re: git-svnimport
Anuj Gakhar
Git Architecture Question
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
linux-netdev
:
Gerrit Renker
v2 [PATCH 1/4] dccp: Limit feature negotiation to connection setup phase
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
[ARM] dma: use new dmabounce_sync_for_xxx() for dma_sync_single_xxx()
Linux Kernel Mailing List
MIPS: Cavium: Remove unused watchdog code.
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
Christophe Rioux
Implementation example of snmp
Ryan McBride
Re: Packets Per Second Limit?
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Jacob Yocom-Piatt
Re: Same shit all over again
Colocation donated by:
Syndicate