[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAADnVQJx+6Pv0qTSkKgnW8aqCwVtz4oDaVC6tR-Df6XFFrjMDA@mail.gmail.com>
Date: Mon, 12 Jan 2015 10:17:16 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Kumar Sanghvi <kumaras@...lsio.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: Query regarding sk_filter
On Sat, Jan 10, 2015 at 4:40 AM, Kumar Sanghvi <kumaras@...lsio.com> wrote:
>
> May be, the question that I should have asked is : do child socket and parent listening socket have the
> same sk_filter applied i.e. do child socket inherit sk_filter from parent listening socket ?
yes. socket returned from accept() inherits filter from parent socket.
if you're curious the path is:
tcp_check_req - tcp_v4_syn_recv_sock - tcp_create_openreq_child - sk_clone_lock
--
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