[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130718.130734.1267527837449730772.davem@davemloft.net>
Date: Thu, 18 Jul 2013 13:07:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, kaber@...sh.net
Subject: Re: [PATCH] vlan: fix a race in egress prio management
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 18 Jul 2013 09:35:10 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> egress_priority_map[] hash table updates are protected by rtnl,
> and we never remove elements until device is dismantled.
>
> We have to make sure that before inserting an new element in hash table,
> all its fields are committed to memory or else another cpu could
> find corrupt values and crash.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied and queued up for -stable, thanks.
--
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