Do not abuse flag that is clearly marked as unused.
This creates conflicts with FreeBSD variations that may use it. The usage of the flag M_TOOBIG is limited to iflib queue, thus using one of M_PROTO flags is fine. There is no need to grab global flag. Silence from: kmacy, sbruno (2 weeks)
This commit is contained in:
parent
2f6a1a81bb
commit
2cc3b2eec5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323077
@ -267,7 +267,7 @@ iflib_get_sctx(if_ctx_t ctx)
|
||||
#define RX_SW_DESC_INUSE (1 << 3)
|
||||
#define TX_SW_DESC_MAPPED (1 << 4)
|
||||
|
||||
#define M_TOOBIG M_UNUSED_8
|
||||
#define M_TOOBIG M_PROTO1
|
||||
|
||||
typedef struct iflib_sw_rx_desc_array {
|
||||
bus_dmamap_t *ifsd_map; /* bus_dma maps for packet */
|
||||
|
Loading…
Reference in New Issue
Block a user