[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150615.160442.1380881777482747617.davem@davemloft.net>
Date: Mon, 15 Jun 2015 16:04:42 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sfeldma@...il.com
Cc: netdev@...r.kernel.org, jiri@...nulli.us,
simon.horman@...ronome.com, makita.toshiaki@....ntt.co.jp
Subject: Re: [PATCH net-next] rocker: fix neigh tbl index increment race
From: sfeldma@...il.com
Date: Fri, 12 Jun 2015 21:24:40 -0700
> From: Scott Feldman <sfeldma@...il.com>
>
> rocker->neigh_tbl_next_index is used to generate unique indices for neigh
> entries programmed into the device. The way new indices were generated was
> racy with the new prepare-commit transaction model. A simple fix here
> removes the race. The race was with two processes getting the same index,
> one process using prepare-commit, the other not:
...
> Reported-by: Simon Horman <simon.horman@...ronome.com>
> Signed-off-by: Scott Feldman <sfeldma@...il.com>
Applied.
--
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