[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHA+R7MO1H8kCqwGd4dcEMJOB0D=qUdYkKq1K1Mmc5jJAQVikw@mail.gmail.com>
Date: Wed, 20 May 2015 13:59:05 -0700
From: Cong Wang <cwang@...pensource.com>
To: Hannes Frederic Sowa <hannes@...essinduktion.org>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next 4/4] net: af_unix: implement splice for stream
af_unix sockets
On Wed, May 20, 2015 at 8:35 AM, Hannes Frederic Sowa
<hannes@...essinduktion.org> wrote:
>
> -static int unix_stream_recvmsg(struct socket *sock, struct msghdr *msg,
> - size_t size, int flags)
> +struct unix_stream_read_state {
> + int (*recv_actor)(struct sk_buff *, int, int,
> + struct unix_stream_read_state *);
> + struct socket *socket;
> + struct msghdr *msg;
> + struct pipe_inode_info *pipe;
> + size_t size;
> + int flags;
> + unsigned int splice_flags;
> +};
> +
> +static __always_inline
> +int unix_stream_read_generic(struct unix_stream_read_state *state)
Why __always_inline here?
--
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