netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 00/11] IPv6: rt->n (neighbour in rt6_info) removal (TAKE 3)
@ 2013-01-17 17:41 YOSHIFUJI Hideaki
  2013-01-17 20:37 ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: YOSHIFUJI Hideaki @ 2013-01-17 17:41 UTC (permalink / raw)
  To: davem, netdev; +Cc: yoshfuji, xiyou.wangcong

This is "TAKE 3" of neighbour removal from rt6_info.

2->3:
- Removed "icmp6_dst_alloc() removal" patch.
  This is nothing to do with this series.
- Removed several unused variables, ifdefs, BUG_ONs.
- Handled several comments from Cong Wang.
- Reordered.

---
YOSHIFUJI Hideaki (11):
  ndisc: Update neigh->updated with write lock.
  ndisc: Remove tbl argument for __ipv6_neigh_lookup().
  ipv6 route: Dump gateway based on RTF_GATEWAY flag and
    rt->rt6i_gateway.
  ndisc: Introduce __ipv6_neigh_lookup_noref().
  ipv6: Do not depend on rt->n in ip6_pol_route().
  ipv6: Do not depend on rt->n in rt6_check_neigh().
  ipv6: Do not depend on rt->n in rt6_probe().
  ipv6: Introduce rt6_nexthop() to select nexthop address.
  ipv6: Do not depend on rt->n in ip6_dst_lookup_tail().
  ipv6: Do not depend on rt->n in ip6_finish_output2().
  ipv6: Complete neighbour entry removal from dst_entry.

 include/net/ip6_fib.h   |    2 -
 include/net/ip6_route.h |    8 +++
 include/net/ndisc.h     |   24 ++++++---
 net/ipv6/ip6_output.c   |   26 ++++++---
 net/ipv6/route.c        |  138 ++++++++++++-----------------------------------
 net/ipv6/xfrm6_policy.c |    1 -
 6 files changed, 76 insertions(+), 123 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next 00/11] IPv6: rt->n (neighbour in rt6_info) removal (TAKE 3)
  2013-01-17 17:41 [PATCH net-next 00/11] IPv6: rt->n (neighbour in rt6_info) removal (TAKE 3) YOSHIFUJI Hideaki
@ 2013-01-17 20:37 ` David Miller
  2013-01-17 22:42   ` Dave Jones
  0 siblings, 1 reply; 4+ messages in thread
From: David Miller @ 2013-01-17 20:37 UTC (permalink / raw)
  To: yoshfuji; +Cc: netdev, xiyou.wangcong

From: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Date: Fri, 18 Jan 2013 02:41:41 +0900

> This is "TAKE 3" of neighbour removal from rt6_info.
> 
> 2->3:
> - Removed "icmp6_dst_alloc() removal" patch.
>   This is nothing to do with this series.
> - Removed several unused variables, ifdefs, BUG_ONs.
> - Handled several comments from Cong Wang.
> - Reordered.

This series is almost perfect, great work.

In ip6_output you need to accomodate the fact that __neigh_create()
returns error pointers so it is not valid to simply use a NULL test on
'neigh'.

You'll need to use IS_ERR().  'neigh' can never be NULL here, it is
either a valid non-NULL pointer or a return value from
__neigh_create().

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next 00/11] IPv6: rt->n (neighbour in rt6_info) removal (TAKE 3)
  2013-01-17 20:37 ` David Miller
@ 2013-01-17 22:42   ` Dave Jones
  2013-01-17 22:53     ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Jones @ 2013-01-17 22:42 UTC (permalink / raw)
  To: David Miller; +Cc: yoshfuji, netdev, xiyou.wangcong

On Thu, Jan 17, 2013 at 03:37:53PM -0500, David Miller wrote:
 > From: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
 > Date: Fri, 18 Jan 2013 02:41:41 +0900
 > 
 > > This is "TAKE 3" of neighbour removal from rt6_info.
 > > 
 > > 2->3:
 > > - Removed "icmp6_dst_alloc() removal" patch.
 > >   This is nothing to do with this series.
 > > - Removed several unused variables, ifdefs, BUG_ONs.
 > > - Handled several comments from Cong Wang.
 > > - Reordered.
 > 
 > This series is almost perfect, great work.

I guess if this is going in soon, the ip6 rt->n related oops I reported
this morning is moot ? (unless anyone cares about fixing it for older kernels)

	Dave

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next 00/11] IPv6: rt->n (neighbour in rt6_info) removal (TAKE 3)
  2013-01-17 22:42   ` Dave Jones
@ 2013-01-17 22:53     ` David Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2013-01-17 22:53 UTC (permalink / raw)
  To: davej; +Cc: yoshfuji, netdev, xiyou.wangcong

From: Dave Jones <davej@redhat.com>
Date: Thu, 17 Jan 2013 17:42:22 -0500

> On Thu, Jan 17, 2013 at 03:37:53PM -0500, David Miller wrote:
>  > From: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
>  > Date: Fri, 18 Jan 2013 02:41:41 +0900
>  > 
>  > > This is "TAKE 3" of neighbour removal from rt6_info.
>  > > 
>  > > 2->3:
>  > > - Removed "icmp6_dst_alloc() removal" patch.
>  > >   This is nothing to do with this series.
>  > > - Removed several unused variables, ifdefs, BUG_ONs.
>  > > - Handled several comments from Cong Wang.
>  > > - Reordered.
>  > 
>  > This series is almost perfect, great work.
> 
> I guess if this is going in soon, the ip6 rt->n related oops I reported
> this morning is moot ? (unless anyone cares about fixing it for older kernels)

I wouldn't say it's moot for older kernels, that's for sure.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-17 22:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-17 17:41 [PATCH net-next 00/11] IPv6: rt->n (neighbour in rt6_info) removal (TAKE 3) YOSHIFUJI Hideaki
2013-01-17 20:37 ` David Miller
2013-01-17 22:42   ` Dave Jones
2013-01-17 22:53     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).