On 4/3/2018 2:16 PM, Alexander Duyck wrote:

[...]
+static inline void *macvlan_accel_priv(struct net_device *dev)
+{
+       struct macvlan_dev *macvlan = netdev_priv(dev);
+
+       return macvlan->accel_priv;


Perhaps a check for (macvlan == NULL) before using it?
sln

+}
  #endif /* _LINUX_IF_MACVLAN_H */

_______________________________________________
Intel-wired-lan mailing list
intel-wired-...@osuosl.org
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan

Reply via email to