[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHA+R7MzWDbZNMbFkBigeWAYM+=Yo=VyHqRD9dgiE1Q3r0XAWA@mail.gmail.com>
Date: Wed, 25 Jun 2014 10:59:43 -0700
From: Cong Wang <cwang@...pensource.com>
To: Octavian Purdila <octavian.purdila@...el.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: [net-next v2 03/13] net: remove inet6_reqsk_alloc
On Wed, Jun 25, 2014 at 7:09 AM, Octavian Purdila
<octavian.purdila@...el.com> wrote:
> Since pktops is only used for IPv6 only and opts is used for IPv4
> only, we can move these fields into a union and this allows us to drop
> the inet6_reqsk_alloc function as after this change it becomes
> equivalent with inet_reqsk_alloc.
>
Or use kmem_cache_zalloc() so that inet_reqsk_alloc() doesn't have
to init ->opt to NULL explicitly.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists