linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	stable@vger.kernel.org, Jakub Kicinski <kuba@kernel.org>,
	"David S. Miller" <davem@davemloft.net>
Subject: [PATCH 5.4 043/123] net: fq: add missing attribute validation for orphan mask
Date: Tue, 17 Mar 2020 11:54:30 +0100	[thread overview]
Message-ID: <20200317103312.236358175@linuxfoundation.org> (raw)
In-Reply-To: <20200317103307.343627747@linuxfoundation.org>

From: Jakub Kicinski <kuba@kernel.org>

[ Upstream commit 7e6dc03eeb023e18427a373522f1d247b916a641 ]

Add missing attribute validation for TCA_FQ_ORPHAN_MASK
to the netlink policy.

Fixes: 06eb395fa985 ("pkt_sched: fq: better control of DDOS traffic")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 net/sched/sch_fq.c |    1 +
 1 file changed, 1 insertion(+)

--- a/net/sched/sch_fq.c
+++ b/net/sched/sch_fq.c
@@ -745,6 +745,7 @@ static const struct nla_policy fq_policy
 	[TCA_FQ_FLOW_MAX_RATE]		= { .type = NLA_U32 },
 	[TCA_FQ_BUCKETS_LOG]		= { .type = NLA_U32 },
 	[TCA_FQ_FLOW_REFILL_DELAY]	= { .type = NLA_U32 },
+	[TCA_FQ_ORPHAN_MASK]		= { .type = NLA_U32 },
 	[TCA_FQ_LOW_RATE_THRESHOLD]	= { .type = NLA_U32 },
 	[TCA_FQ_CE_THRESHOLD]		= { .type = NLA_U32 },
 };



  parent reply	other threads:[~2020-03-17 11:02 UTC|newest]

Thread overview: 127+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-17 10:53 [PATCH 5.4 000/123] 5.4.26-rc1 review Greg Kroah-Hartman
2020-03-17 10:53 ` [PATCH 5.4 001/123] virtio_balloon: Adjust label in virtballoon_probe Greg Kroah-Hartman
2020-03-17 10:53 ` [PATCH 5.4 002/123] ALSA: hda/realtek - More constifications Greg Kroah-Hartman
2020-03-17 10:53 ` [PATCH 5.4 003/123] ALSA: hda/realtek - Add Headset Mic supported for HP cPC Greg Kroah-Hartman
2020-03-17 10:53 ` [PATCH 5.4 004/123] ALSA: hda/realtek - Fixed one of HP ALC671 platform Headset Mic supported Greg Kroah-Hartman
2020-03-17 10:53 ` [PATCH 5.4 005/123] cgroup, netclassid: periodically release file_lock on classid updating Greg Kroah-Hartman
2020-03-17 10:53 ` [PATCH 5.4 006/123] gre: fix uninit-value in __iptunnel_pull_header Greg Kroah-Hartman
2020-03-17 10:53 ` [PATCH 5.4 007/123] inet_diag: return classid for all socket types Greg Kroah-Hartman
2020-03-17 10:53 ` [PATCH 5.4 008/123] ipv6/addrconf: call ipv6_mc_up() for non-Ethernet interface Greg Kroah-Hartman
2020-03-17 10:53 ` [PATCH 5.4 009/123] ipvlan: add cond_resched_rcu() while processing muticast backlog Greg Kroah-Hartman
2020-03-17 10:53 ` [PATCH 5.4 010/123] ipvlan: do not add hardware address of master to its unicast filter list Greg Kroah-Hartman
2020-03-17 10:53 ` [PATCH 5.4 011/123] ipvlan: do not use cond_resched_rcu() in ipvlan_process_multicast() Greg Kroah-Hartman
2020-03-17 10:53 ` [PATCH 5.4 012/123] ipvlan: dont deref eth hdr before checking its set Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 013/123] macvlan: add cond_resched() during multicast processing Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 014/123] net: dsa: fix phylink_start()/phylink_stop() calls Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 015/123] net: dsa: mv88e6xxx: fix lockup on warm boot Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 016/123] net: fec: validate the new settings in fec_enet_set_coalesce() Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 017/123] net: hns3: fix a not link up issue when fibre port supports autoneg Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 018/123] net/ipv6: use configured metric when add peer route Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 019/123] netlink: Use netlink header as base to calculate bad attribute offset Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 020/123] net: macsec: update SCI upon MAC address change Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 021/123] net: nfc: fix bounds checking bugs on "pipe" Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 022/123] net/packet: tpacket_rcv: do not increment ring index on drop Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 023/123] net: phy: bcm63xx: fix OOPS due to missing driver name Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 024/123] net: stmmac: dwmac1000: Disable ACS if enhanced descs are not used Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 025/123] net: systemport: fix index check to avoid an array out of bounds access Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 026/123] r8152: check disconnect status after long sleep Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 027/123] sfc: detach from cb_page in efx_copy_channel() Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 028/123] slip: make slhc_compress() more robust against malicious packets Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 029/123] taprio: Fix sending packets without dequeueing them Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 030/123] bonding/alb: make sure arp header is pulled before accessing it Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 031/123] bnxt_en: reinitialize IRQs when MTU is modified Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 032/123] bnxt_en: fix error handling when flashing from file Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 033/123] cgroup: memcg: net: do not associate sock with unrelated cgroup Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 034/123] net: memcg: late association of sock to memcg Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 035/123] net: memcg: fix lockdep splat in inet_csk_accept() Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 036/123] devlink: validate length of param values Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 037/123] devlink: validate length of region addr/len Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 038/123] fib: add missing attribute validation for tun_id Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 039/123] nl802154: add missing attribute validation Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 040/123] nl802154: add missing attribute validation for dev_type Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 041/123] can: add missing attribute validation for termination Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 042/123] macsec: add missing attribute validation for port Greg Kroah-Hartman
2020-03-17 10:54 ` Greg Kroah-Hartman [this message]
2020-03-17 10:54 ` [PATCH 5.4 044/123] net: taprio: add missing attribute validation for txtime delay Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 045/123] team: add missing attribute validation for port ifindex Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 046/123] team: add missing attribute validation for array index Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 047/123] tipc: add missing attribute validation for MTU property Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 048/123] nfc: add missing attribute validation for SE API Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 049/123] nfc: add missing attribute validation for deactivate target Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 050/123] nfc: add missing attribute validation for vendor subcommand Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 051/123] net: phy: avoid clearing PHY interrupts twice in irq handler Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 052/123] net: phy: fix MDIO bus PM PHY resuming Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 053/123] net/ipv6: need update peer route when modify metric Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 054/123] net/ipv6: remove the old peer route if change it to a new one Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 055/123] selftests/net/fib_tests: update addr_metric_test for peer route testing Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 056/123] net: dsa: Dont instantiate phylink for CPU/DSA ports unless needed Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 057/123] net: phy: Avoid multiple suspends Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 058/123] cgroup: cgroup_procs_next should increase position index Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 059/123] cgroup: Iterate tasks that did not finish do_exit() Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 060/123] netfilter: nf_tables: fix infinite loop when expr is not available Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 061/123] iwlwifi: mvm: Do not require PHY_SKU NVM section for 3168 devices Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 062/123] virtio-blk: fix hw_queue stopped on arbitrary error Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 063/123] iommu/vt-d: quirk_ioat_snb_local_iommu: replace WARN_TAINT with pr_warn + add_taint Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 064/123] netfilter: nf_conntrack: ct_cpu_seq_next should increase position index Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 065/123] netfilter: synproxy: synproxy_cpu_seq_next " Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 066/123] netfilter: xt_recent: recent_seq_next " Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 067/123] netfilter: x_tables: xt_mttg_seq_next " Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 068/123] workqueue: dont use wq_select_unbound_cpu() for bound works Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 069/123] drm/amd/display: remove duplicated assignment to grph_obj_type Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 070/123] drm/i915: be more solid in checking the alignment Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 071/123] drm/i915: Defer semaphore priority bumping to a workqueue Greg Kroah-Hartman
2020-03-17 10:54 ` [PATCH 5.4 072/123] mmc: sdhci-pci-gli: Enable MSI interrupt for GL975x Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 073/123] pinctrl: falcon: fix syntax error Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 074/123] ktest: Add timeout for ssh sync testing Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 075/123] cifs_atomic_open(): fix double-put on late allocation failure Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 076/123] gfs2_atomic_open(): fix O_EXCL|O_CREAT handling on cold dcache Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 077/123] KVM: x86: clear stale x86_emulate_ctxt->intercept value Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 078/123] KVM: nVMX: avoid NULL pointer dereference with incorrect EVMCS GPAs Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 079/123] ARC: define __ALIGN_STR and __ALIGN symbols for ARC Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 080/123] fuse: fix stack use after return Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 081/123] s390/dasd: fix data corruption for thin provisioned devices Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 082/123] ipmi_si: Avoid spurious errors for optional IRQs Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 083/123] blk-iocost: fix incorrect vtime comparison in iocg_is_idle() Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 084/123] fscrypt: dont evict dirty inodes after removing key Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 085/123] macintosh: windfarm: fix MODINFO regression Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 086/123] x86/ioremap: Map EFI runtime services data as encrypted for SEV Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 087/123] efi: Fix a race and a buffer overflow while reading efivars via sysfs Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 088/123] efi: Add a sanity check to efivar_store_raw() Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 089/123] i2c: designware-pci: Fix BUG_ON during device removal Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 090/123] mt76: fix array overflow on receiving too many fragments for a packet Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 091/123] perf/amd/uncore: Replace manual sampling check with CAP_NO_INTERRUPT flag Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 092/123] x86/mce: Fix logic and comments around MSR_PPIN_CTL Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 093/123] iommu/dma: Fix MSI reservation allocation Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 094/123] iommu/vt-d: dmar: replace WARN_TAINT with pr_warn + add_taint Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 095/123] iommu/vt-d: Fix RCU list debugging warnings Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 096/123] iommu/vt-d: Fix a bug in intel_iommu_iova_to_phys() for huge page Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 097/123] batman-adv: Dont schedule OGM for disabled interface Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 098/123] clk: imx8mn: Fix incorrect clock defines Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 099/123] pinctrl: meson-gxl: fix GPIOX sdio pins Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 100/123] pinctrl: imx: scu: Align imx sc msg structs to 4 Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 101/123] virtio_ring: Fix mem leak with vring_new_virtqueue() Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 102/123] drm/i915/gvt: Fix dma-buf display blur issue on CFL Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 103/123] pinctrl: core: Remove extra kref_get which blocks hogs being freed Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 104/123] drm/i915/gvt: Fix unnecessary schedule timer when no vGPU exits Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 105/123] driver code: clarify and fix platform device DMA mask allocation Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 106/123] iommu/vt-d: Fix RCU-list bugs in intel_iommu_init() Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 107/123] i2c: gpio: suppress error on probe defer Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 108/123] nl80211: add missing attribute validation for critical protocol indication Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 109/123] nl80211: add missing attribute validation for beacon report scanning Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 110/123] nl80211: add missing attribute validation for channel switch Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 111/123] perf bench futex-wake: Restore thread count default to online CPU count Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 112/123] netfilter: cthelper: add missing attribute validation for cthelper Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 113/123] netfilter: nft_payload: add missing attribute validation for payload csum flags Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 114/123] netfilter: nft_tunnel: add missing attribute validation for tunnels Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 115/123] netfilter: nf_tables: dump NFTA_CHAIN_FLAGS attribute Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 116/123] netfilter: nft_chain_nat: inet family is missing module ownership Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 117/123] iommu/vt-d: Fix the wrong printing in RHSA parsing Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 118/123] iommu/vt-d: Ignore devices with out-of-spec domain number Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 119/123] i2c: acpi: put device when verifying client fails Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 120/123] iommu/amd: Fix IOMMU AVIC not properly update the is_run bit in IRTE Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 121/123] ipv6: restrict IPV6_ADDRFORM operation Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 122/123] net/smc: check for valid ib_client_data Greg Kroah-Hartman
2020-03-17 10:55 ` [PATCH 5.4 123/123] net/smc: cancel event worker during device removal Greg Kroah-Hartman
2020-03-17 19:47 ` [PATCH 5.4 000/123] 5.4.26-rc1 review Guenter Roeck
2020-03-17 20:09 ` Naresh Kamboju
2020-03-18  0:04 ` shuah

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200317103312.236358175@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).