Thread (2 messages) flat view 2 messages, 2 authors, 2018-10-11

Re: [PATCH net-next] net: sched: avoid writing on noop_qdisc

From: David Miller <davem@davemloft.net>
Date: 2018-10-11 13:15:13

From: Eric Dumazet <edumazet@google.com>
Date: Tue,  9 Oct 2018 15:20:50 -0700
While noop_qdisc.gso_skb and noop_qdisc.skb_bad_txq are not used
in other places, it seems not correct to overwrite their fields
in dev_init_scheduler_queue().

noop_qdisc is essentially a shared and read-only object, even if
it is not marked as const because of some implementation detail.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help