The old __QUEUE_STATE_XOFF was divided into __QUEUE_STATE_DRV_XOFF and
__QUEUE_STATE_STACK_XOFF, in this patch we map both to the old version
on old kernel vesions.
This backports this upstream commit:
commit
7346649826382b769cfadf4a2fe8a84d060c55e9
Author: Tom Herbert <therbert@google.com>
Date: Mon Nov 28 16:32:44 2011 +0000
net: Add queue state xoff flag for stack
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
#define IFF_UNICAST_FLT 0x20000 /* Supports unicast filtering */
#endif
+#ifndef QUEUE_STATE_ANY_XOFF
+#define __QUEUE_STATE_DRV_XOFF __QUEUE_STATE_XOFF
+#define __QUEUE_STATE_STACK_XOFF __QUEUE_STATE_XOFF
+#endif
+
#endif /* __BACKPORT_NETDEVICE_H */