Neil Horman 3885ca785a drop_monitor: Make updating data->skb smp safe
Eric Dumazet pointed out to me that the drop_monitor protocol has some holes in
its smp protections.  Specifically, its possible to replace data->skb while its
being written.  This patch corrects that by making data->skb an rcu protected
variable.  That will prevent it from being overwritten while a tracepoint is
modifying it.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: David Miller <davem@davemloft.net>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-28 02:18:48 -04:00
..
2012-02-24 01:42:07 -08:00
2010-07-12 12:57:55 -07:00
2010-11-28 18:24:14 -08:00
2012-03-28 18:30:03 +01:00
2012-01-17 10:31:12 -05:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00