Re: [PATCH net-next V4 1/5] net: netdevsim: hook in XDP handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




+	ns = netdev_priv(dev);
+	xdp_prog = rcu_dereference(ns->xdp.prog);

I'm somewhat confused by this because ns->xdp.prog doesn't appear to be
protected by RCU.

Flagged by Sparse.

Right. Thanks for pointing out Simon. I'll fix it.




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux