lkml.org 
[lkml]   [2017]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: net: GPF in rt6_nexthop_info
On Tue, Feb 28, 2017 at 3:09 PM, David Ahern <dsa@cumulusnetworks.com> wrote:
> On 2/28/17 5:10 AM, Eric Dumazet wrote:
>> David, rt->rt6i_idev can be NULL.
>
> Do you know of an example where rt6i_idev can be NULL - besides the
> null_entry rt which is null only because of init order?


I might have been mistaken, but many points in net/ipv6/route.c test
rt->rt6i_idev being NULL or not before dereferencing it.

Maybe other rts (other than null_entry) share this property.

\
 
 \ /
  Last update: 2017-03-01 00:15    [W:0.101 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site