summaryrefslogtreecommitdiff
path: root/patches/0062-iff-no-queue.cocci
blob: 9c95b853df183371c048d915aa72deaab4aa4937 (plain)
1
2
3
4
5
6
7
8
9
@@
expression E;
@@

+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,3,0)
 E->priv_flags |= IFF_NO_QUEUE;
+#else
+E->tx_queue_len = 0;
+#endif