[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090805214139.GA6553@doriath.ww600.siemens.net>
Date: Thu, 6 Aug 2009 01:41:39 +0400
From: Dmitry Eremin-Solenikov <dbaryshkov@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, slapin@...fans.org,
linux-zigbee-devel@...ts.sourceforge.net
Subject: Re: [PATCH 2/3] af_ieee802154: provide dummy get/setsockopt
On Wed, Aug 05, 2009 at 12:17:14PM -0700, David Miller wrote:
> From: Dmitry Eremin-Solenikov <dbaryshkov@...il.com>
> Date: Wed, 5 Aug 2009 11:28:16 +0400
>
> > Provide dummt get/setsockopt implementations to stop these
> > syscalls from oopsing on our sockets.
> >
> > Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@...il.com>
>
> See "sock_no_getsockopt()" and "sock_no_setsockopt()" which are
> provided specifically for this situation.
There functions are to be used in struct proto_ops and not in the
struct proto. I'd like to use sock_common_get/setsockopt() from the
beginning, as there will be sockopts at least for dgram protocols.
If you say so, I can, of course, replace this patch with the one you
suggested. However I really don't see a point in doing this.
--
With best wishes
Dmitry
--
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