From: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com>
To: eric.dumazet@gmail.com
Cc: davem@davemloft.net, netdev@vger.kernel.org, therbert@google.com,
wsommerfeld@google.com
Subject: Re: [PATCH net-next v2] ipv4: tcp: remove per net tcp_sock
Date: Sat, 21 Jul 2012 17:00:35 +0900 [thread overview]
Message-ID: <20120721170035.be1bb3aff663ecf9e81028e2@gmail.com> (raw)
In-Reply-To: <1342719243.2626.4571.camel@edumazet-glaptop>
On Thu, 19 Jul 2012 19:34:03 +0200
Eric Dumazet <eric.dumazet@gmail.com> wrote:
> +static DEFINE_PER_CPU(struct inet_sock, unicast_sock) = {
> + .sk = {
> + .__sk_common = {
> + .skc_refcnt = ATOMIC_INIT(1),
> + },
> + .sk_wmem_alloc = ATOMIC_INIT(1),
> + .sk_allocation = GFP_ATOMIC,
> + .sk_flags = (1UL << SOCK_USE_WRITE_QUEUE),
> + },
> + .pmtudisc = IP_PMTUDISC_WANT,
> +};
RST packet generated from unicast_sock have 0 TTL value.
I think ".uc_ttl = -1" is needed in above initialization.
next prev parent reply other threads:[~2012-07-21 8:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-19 17:34 [PATCH net-next v2] ipv4: tcp: remove per net tcp_sock Eric Dumazet
2012-07-19 17:36 ` David Miller
2012-07-19 17:49 ` Eric Dumazet
2012-07-19 17:51 ` David Miller
2012-07-21 8:00 ` Hiroaki SHIMODA [this message]
2012-07-21 8:28 ` Eric Dumazet
2012-07-22 19:08 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120721170035.be1bb3aff663ecf9e81028e2@gmail.com \
--to=shimoda.hiroaki@gmail.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=therbert@google.com \
--cc=wsommerfeld@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox