Re: [PATCH net] net: neigh: guard against NULL solicit() method

2017-03-23 Thread David Miller
From: Eric Dumazet Date: Thu, 23 Mar 2017 12:39:21 -0700 > From: Eric Dumazet > > Dmitry posted a nice reproducer of a bug triggering in neigh_probe() > when dereferencing a NULL neigh->ops->solicit method. > > This can happen for

[PATCH net] net: neigh: guard against NULL solicit() method

2017-03-23 Thread Eric Dumazet
From: Eric Dumazet Dmitry posted a nice reproducer of a bug triggering in neigh_probe() when dereferencing a NULL neigh->ops->solicit method. This can happen for arp_direct_ops/ndisc_direct_ops and similar, which can be used for NUD_NOARP neighbours (created when