[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180605.123050.283070701135868517.davem@davemloft.net>
Date: Tue, 05 Jun 2018 12:30:50 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: sd@...asysnail.net
Cc: netdev@...r.kernel.org, edumazet@...gle.com,
nikolay@...ulusnetworks.com, yuvalm@...lanox.com,
ivecera@...hat.com
Subject: Re: [PATCH net v2 1/2] ip6mr: only set ip6mr_table from setsockopt
when ip6mr_new_table succeeds
From: Sabrina Dubroca <sd@...asysnail.net>
Date: Tue, 5 Jun 2018 15:01:59 +0200
> Currently, raw6_sk(sk)->ip6mr_table is set unconditionally during
> ip6_mroute_setsockopt(MRT6_TABLE). A subsequent attempt at the same
> setsockopt will fail with -ENOENT, since we haven't actually created
> that table.
>
> A similar fix for ipv4 was included in commit 5e1859fbcc3c ("ipv4: ipmr:
> various fixes and cleanups").
>
> Fixes: d1db275dd3f6 ("ipv6: ip6mr: support multiple tables")
> Signed-off-by: Sabrina Dubroca <sd@...asysnail.net>
Applied and queued up for -stable.
Powered by blists - more mailing lists