diff options
| author | 2018-10-09 15:20:50 -0700 | |
|---|---|---|
| committer | 2018-10-10 22:49:16 -0700 | |
| commit | f98ebd47fd0da1717267ce1583a105d8cc29a16a (patch) | |
| tree | 46b151fab4744224e104a4fc527295cd29834a5f /drivers/net/dsa/bcm_sf2.c | |
| parent | net/mpls: Implement handler for strict data checking on dumps (diff) | |
| download | wireguard-linux-f98ebd47fd0da1717267ce1583a105d8cc29a16a.tar.xz wireguard-linux-f98ebd47fd0da1717267ce1583a105d8cc29a16a.zip | |
net: sched: avoid writing on noop_qdisc
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/bcm_sf2.c')
0 files changed, 0 insertions, 0 deletions
