Linux 5.4.30
Greg KH
maintainerI'm announcing the release of the 5.4.30 kernel.
All users of the 5.4 kernel series must upgrade.
The updated 5.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 arch/arm/boot/dts/bcm2835-rpi-zero-w.dts | 1 arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi | 4 - arch/arm/boot/dts/omap3-n900.dts | 44 ++++++++---- arch/arm/boot/dts/ox810se.dtsi | 4 - arch/arm/boot/dts/ox820.dtsi | 4 - arch/arm/boot/dts/sun8i-r40.dtsi | 21 ++---- arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 4 - arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 4 - arch/arm64/include/asm/alternative.h | 2 drivers/clk/imx/clk-scu.c | 8 +- drivers/clk/ti/clk-43xx.c | 2 drivers/gpio/gpiolib-acpi.c | 15 ++++ drivers/net/ethernet/micrel/ks8851_mll.c | 56 +++++++++++++++- drivers/platform/x86/pmc_atom.c | 8 ++ drivers/tty/serial/sprd_serial.c | 3 drivers/tty/vt/selection.c | 5 + drivers/tty/vt/vt.c | 30 +++++++- drivers/tty/vt/vt_ioctl.c | 75 +++++++++++----------- include/linux/ceph/messenger.h | 7 +- include/linux/selection.h | 4 - include/linux/vt_kern.h | 2 kernel/bpf/btf.c | 3 kernel/bpf/syscall.c | 9 +- net/ceph/messenger.c | 9 ++ net/ceph/osd_client.c | 14 ---- net/mac80211/tx.c | 20 +++++ tools/perf/util/map.c | 2 28 files changed, 249 insertions(+), 113 deletions(-)
Arthur Demchenkov (1):
ARM: dts: N900: fix onenand timings
Chen-Yu Tsai (1):
ARM: dts: sun8i: r40: Move AHCI device node based on address order
Eric Biggers (3):
vt: vt_ioctl: remove unnecessary console allocation checks
vt: vt_ioctl: fix VT_DISALLOCATE freeing in-use virtual console
vt: vt_ioctl: fix use-after-free in vt_in_use()
Georg Müller (1):
platform/x86: pmc_atom: Add Lex 2I385SW to critclk_systems DMI table
Greg Kroah-Hartman (3):
bpf: Explicitly memset the bpf_attr structure
bpf: Explicitly memset some bpf info structures declared on the stack Linux 5.4.30
Hans de Goede (1):
gpiolib: acpi: Add quirk to ignore EC wakeups on HP x2 10 CHT + AXP288 model
Ilie Halip (1):
arm64: alternative: fix build with clang integrated assembler
Ilya Dryomov (1):
libceph: fix alloc_msg_with_page_vector() memory leaks
Jiri Slaby (3):
vt: selection, introduce vc_is_sel
vt: ioctl, switch VT_IS_IN_USE and VT_BUSY to inlines
vt: switch vt_dont_switch to bool
Johannes Berg (1):
mac80211: fix authentication with iwlwifi/mvm
Jouni Malinen (1):
mac80211: Check port authorization in the ieee80211_tx_dequeue() case
Lanqing Liu (1):
serial: sprd: Fix a dereference warning
Leonard Crestez (2):
clk: imx: Align imx sc clock msg structs to 4
clk: imx: Align imx sc clock parent msg structs to 4
Madalin Bucur (2):
arm64: dts: ls1043a-rdb: correct RGMII delay mode to rgmii-id
arm64: dts: ls1046ardb: set RGMII interfaces to RGMII_ID mode
Marco Felsch (1):
ARM: dts: imx6: phycore-som: fix arm and soc minimum voltage
Marek Vasut (1):
net: ks8851-ml: Fix IO operations, again
Nick Hudson (1):
ARM: bcm2835-rpi-zero-w: Add missing pinctrl name
Sungbo Eo (1):
ARM: dts: oxnas: Fix clear-mask property
Tony Lindgren (1):
clk: ti: am43xx: Fix clock parent for RTC clock
disconnect3d (1):
perf map: Fix off by one in strncpy() size argument
Greg KH
maintainerMakefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 4 -SUBLEVEL = 29 +SUBLEVEL = 30 EXTRAVERSION = NAME = Kleptomaniac Octopus
arch/arm/boot/dts/bcm2835-rpi-zero-w.dts +1 -0
@@ -112,6 +112,7 @@ &sdhci { #address-cells = <1>; #size-cells = <0>; + pinctrl-names = "default"; pinctrl-0 = <&emmc_gpio34 &gpclk2_gpio43>; bus-width = <4>; mmc-pwrseq = <&wifi_pwrseq>;
arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi +2 -2
@@ -107,14 +107,14 @@ regulators { vdd_arm: buck1 { regulator-name = "vdd_arm"; - regulator-min-microvolt = <730000>; + regulator-min-microvolt = <925000>; regulator-max-microvolt = <1380000>; regulator-always-on; }; vdd_soc: buck2 { regulator-name = "vdd_soc"; - regulator-min-microvolt = <730000>; + regulator-min-microvolt = <1150000>; regulator-max-microvolt = <1380000>; regulator-always-on; };
arch/arm/boot/dts/omap3-n900.dts +28 -16
62 lines not on this page · raw message
arch/arm/boot/dts/ox810se.dtsi +2 -2
@@ -323,8 +323,8 @@ interrupt-controller; reg = <0 0x200>; #interrupt-cells = <1>; - valid-mask = <0xFFFFFFFF>; - clear-mask = <0>; + valid-mask = <0xffffffff>; + clear-mask = <0xffffffff>; }; timer0: timer@200 {
arch/arm/boot/dts/ox820.dtsi +2 -2
@@ -240,8 +240,8 @@ reg = <0 0x200>; interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; #interrupt-cells = <1>; - valid-mask = <0xFFFFFFFF>; - clear-mask = <0>; + valid-mask = <0xffffffff>; + clear-mask = <0xffffffff>; }; timer0: timer@200 {
arch/arm/boot/dts/sun8i-r40.dtsi +10 -11
@@ -266,6 +266,16 @@ #phy-cells = <1>; }; + ahci: sata@1c18000 { + compatible = "allwinner,sun8i-r40-ahci"; + reg = <0x01c18000 0x1000>; + interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&ccu CLK_BUS_SATA>, <&ccu CLK_SATA>; + resets = <&ccu RST_BUS_SATA>; + reset-names = "ahci"; + status = "disabled"; + }; + ehci1: usb@1c19000 { compatible = "allwinner,sun8i-r40-ehci", "generic-ehci"; reg = <0x01c19000 0x100>;
@@ -557,17 +567,6 @@ #size-cells = <0>; }; - ahci: sata@1c18000 { - compatible = "allwinner,sun8i-r40-ahci"; - reg = <0x01c18000 0x1000>; - interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&ccu CLK_BUS_SATA>, <&ccu CLK_SATA>; - resets = <&ccu RST_BUS_SATA>; - reset-names = "ahci"; - status = "disabled"; - - }; - gmac: ethernet@1c50000 { compatible = "allwinner,sun8i-r40-gmac"; syscon = <&ccu>;
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts +2 -2
@@ -119,12 +119,12 @@ ethernet@e4000 { phy-handle = <&rgmii_phy1>; - phy-connection-type = "rgmii-txid"; + phy-connection-type = "rgmii-id"; }; ethernet@e6000 { phy-handle = <&rgmii_phy2>; - phy-connection-type = "rgmii-txid"; + phy-connection-type = "rgmii-id"; }; ethernet@e8000 {
arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts +2 -2
@@ -127,12 +127,12 @@ &fman0 { ethernet@e4000 { phy-handle = <&rgmii_phy1>; - phy-connection-type = "rgmii"; + phy-connection-type = "rgmii-id"; }; ethernet@e6000 { phy-handle = <&rgmii_phy2>; - phy-connection-type = "rgmii"; + phy-connection-type = "rgmii-id"; }; ethernet@e8000 {
arch/arm64/include/asm/alternative.h +1 -1
@@ -221,7 +221,7 @@ alternative_endif .macro user_alt, label, oldinstr, newinstr, cond 9999: alternative_insn "\oldinstr", "\newinstr", \cond - _ASM_EXTABLE 9999b, \label + _asm_extable 9999b, \label .endm/*
drivers/clk/imx/clk-scu.c +4 -4
@@ -43,12 +43,12 @@ struct imx_sc_msg_req_set_clock_rate {__le32 rate;__le16 resource;u8 clk; -} __packed; +} __packed__aligned(4) ;struct req_get_clock_rate {__le16 resource;u8 clk; -} __packed; +} __packed__aligned(4) ;struct resp_get_clock_rate {__le32 rate;
@@ -84,7 +84,7 @@ struct imx_sc_msg_get_clock_parent {struct req_get_clock_parent {__le16 resource;u8 clk; - } __packed req; + } __packed __aligned(4) req;struct resp_get_clock_parent {u8 parent; } resp;
@@ -121,7 +121,7 @@ struct imx_sc_msg_req_clock_enable {u8 clk;u8 enable;u8 autog; -} __packed; +} __packed__aligned(4) ;static inline struct clk_scu *to_clk_scu (struct clk_hw *hw) {
drivers/clk/ti/clk-43xx.c +1 -1
@@ -78,7 +78,7 @@ static const struct omap_clkctrl_reg_data am4_gfx_l3_clkctrl_regs[] __initconst };static const struct omap_clkctrl_reg_data am4_l4_rtc_clkctrl_regs[]__initconst = { - {AM4_L4_RTC_RTC_CLKCTRL ,NULL ,CLKF_SW_SUP ,"clk_32768_ck" }, + {AM4_L4_RTC_RTC_CLKCTRL ,NULL ,CLKF_SW_SUP ,"clkdiv32k_ick" }, {0 }, };
drivers/gpio/gpiolib-acpi.c +15 -0
@@ -1430,6 +1430,21 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] = { .ignore_wake = "INT33FC:02@28", }, }, + { + /* + * HP X2 10 models with Cherry Trail SoC + AXP288 PMIC use an + * external embedded-controller connected via I2C + an ACPI GPIO + * event handler on INT33FF:01 pin 0, causing spurious wakeups. + */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "HP"), + DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion x2 Detachable"), + DMI_MATCH(DMI_BOARD_NAME, "813E"), + }, + .driver_data = &(struct acpi_gpiolib_dmi_quirk) { + .ignore_wake = "INT33FF:01@0", + }, + }, {} /* Terminating entry */ };
drivers/net/ethernet/micrel/ks8851_mll.c +52 -4
92 lines not on this page · raw message
drivers/platform/x86/pmc_atom.c +8 -0
@@ -383,6 +383,14 @@ static const struct dmi_system_id critclk_systems[] = { DMI_MATCH(DMI_PRODUCT_NAME, "3I380D"), }, }, + { +/* pmc_plt_clk* - are used for ethernet controllers */ + .ident = "Lex 2I385SW", + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"Lex BayTrail" ), + DMI_MATCH(DMI_PRODUCT_NAME, "2I385SW"), + }, + }, {/* pmc_plt_clk* - are used for ethernet controllers */ .ident = "Beckhoff CB3163",
drivers/tty/serial/sprd_serial.c +1 -2
@@ -1103,14 +1103,13 @@ static int sprd_remove(struct platform_device *dev)if (sup) {uart_remove_one_port (&sprd_uart_driver, &sup->port); sprd_port[sup->port.line] =NULL ; +sprd_rx_free_buf (sup); sprd_ports_num--; }if (!sprd_ports_num)uart_unregister_driver (&sprd_uart_driver); -sprd_rx_free_buf (sup); -return 0 ; }
drivers/tty/vt/selection.c +5 -0
@@ -88,6 +88,11 @@ void clear_selection(void) }EXPORT_SYMBOL_GPL (clear_selection); +bool vc_is_sel (struct vc_data *vc) +{ +return vc == sel_cons; +} +/* * User settable table: what characters are to be considered alphabetic? * 128 bits. Locked by the console lock.
drivers/tty/vt/vt.c +26 -4
@@ -890,8 +890,9 @@ static void hide_softcursor(struct vc_data *vc)static void hide_cursor (struct vc_data *vc) { -if (vc == sel_cons) +if (vc_is_sel (vc))clear_selection (); + vc->vc_sw->con_cursor (vc,CM_ERASE );hide_softcursor (vc); }
@@ -901,7 +902,7 @@ static void set_cursor(struct vc_data *vc)if (!con_is_fg (vc) || console_blanked || vc->vc_mode ==KD_GRAPHICS )return ;if (vc->vc_deccm) { -if (vc == sel_cons) +if (vc_is_sel (vc))clear_selection ();add_softcursor (vc);if ((vc->vc_cursor_type &0x0f ) !=1 )
@@ -1074,6 +1075,17 @@ static void visual_deinit(struct vc_data *vc)module_put (vc->vc_sw->owner); } +static void vc_port_destruct (struct tty_port *port) +{ + struct vc_data *vc = container_of(port, struct vc_data, port); + +kfree (vc); +} + +static const struct tty_port_operations vc_port_ops = { + .destruct = vc_port_destruct, +}; +int vc_allocate (unsigned int currcons)/* return 0 on success */ {struct vt_notifier_param param;
@@ -1099,6 +1111,7 @@ int vc_allocate(unsigned int currcons) /* return 0 on success */ vc_cons[currcons].d = vc;tty_port_init (&vc->port); + vc->port.ops = &vc_port_ops;INIT_WORK (&vc_cons[currcons].SAK_work, vc_SAK);visual_init (vc, currcons,1 );
@@ -1207,7 +1220,7 @@ static int vc_do_resize(struct tty_struct *tty, struct vc_data *vc, } } -if (vc == sel_cons) +if (vc_is_sel (vc))clear_selection (); old_rows = vc->vc_rows;
@@ -3253,6 +3266,7 @@ static int con_install(struct tty_driver *driver, struct tty_struct *tty) tty->driver_data = vc; vc->port.tty = tty; +tty_port_get (&vc->port);if (!tty->winsize.ws_row && !tty->winsize.ws_col) { tty->winsize.ws_row = vc_cons[currcons].d->vc_rows;
@@ -3288,6 +3302,13 @@ static void con_shutdown(struct tty_struct *tty)console_unlock (); } +static void con_cleanup (struct tty_struct *tty) +{ +struct vc_data *vc = tty->driver_data; + +tty_port_put (&vc->port); +} +static int default_color =7 ;/* white */ static int default_italic_color =2 ;// green (ASCII) static int default_underline_color =3 ;// cyan (ASCII)
@@ -3412,7 +3433,8 @@ static const struct tty_operations con_ops = { .throttle = con_throttle, .unthrottle = con_unthrottle, .resize = vt_resize, - .shutdown = con_shutdown + .shutdown = con_shutdown, + .cleanup = con_cleanup, };static struct cdev vc0_cdev;
drivers/tty/vt/vt_ioctl.c +40 -35
157 lines not on this page · raw message
include/linux/ceph/messenger.h +4 -3
@@ -175,9 +175,10 @@ struct ceph_msg_data {#endif /* CONFIG_BLOCK */ struct ceph_bvec_iter bvec_pos;struct { -struct page **pages;/* NOT OWNER. */ +struct page **pages;size_t length;/* total # bytes */ unsigned int alignment;/* first page */ +bool own_pages; };struct ceph_pagelist *pagelist; };
@@ -356,8 +357,8 @@ extern void ceph_con_keepalive(struct ceph_connection *con);extern bool ceph_con_keepalive_expired (struct ceph_connection *con,unsigned long interval); -extern void ceph_msg_data_add_pages (struct ceph_msg *msg,struct page **pages, -size_t length,size_t alignment); +void ceph_msg_data_add_pages (struct ceph_msg *msg,struct page **pages, +size_t length,size_t alignment,bool own_pages);extern void ceph_msg_data_add_pagelist (struct ceph_msg *msg,struct ceph_pagelist *pagelist);#ifdef CONFIG_BLOCK
include/linux/selection.h +3 -1
@@ -11,8 +11,8 @@#include <linux/tiocl.h> #include <linux/vt_buffer.h> -extern struct vc_data *sel_cons;struct tty_struct ; +struct vc_data ;extern void clear_selection (void ); extern int set_selection_user(const struct tiocl_selection __user *sel,
@@ -24,6 +24,8 @@ extern int sel_loadlut(char __user *p);extern int mouse_reporting (void );extern void mouse_report (struct tty_struct * tty,int butt,int mrx,int mry); +bool vc_is_sel (struct vc_data *vc); +extern int console_blanked;extern const unsigned char color_table[];
include/linux/vt_kern.h +1 -1
@@ -135,7 +135,7 @@ extern int do_unbind_con_driver(const struct consw *csw, int first, int last, int deflt);int vty_init (const struct file_operations *console_fops); -extern char vt_dont_switch; +extern bool vt_dont_switch;extern int default_utf8;extern int global_cursor_default;
kernel/bpf/btf.c +2 -1
@@ -3460,7 +3460,7 @@ int btf_get_info_by_fd(const struct btf *btf, union bpf_attr __user *uattr) {struct bpf_btf_info __user *uinfo; -struct bpf_btf_info info = {}; +struct bpf_btf_info info;u32 info_copy, btf_copy;void __user *ubtf;u32 uinfo_len;
@@ -3469,6 +3469,7 @@ int btf_get_info_by_fd(const struct btf *btf, uinfo_len = attr->info.info_len; info_copy =min_t (u32, uinfo_len,sizeof (info)); +memset (&info,0 ,sizeof (info));if (copy_from_user (&info, uinfo, info_copy))return -EFAULT ;
kernel/bpf/syscall.c +6 -3
@@ -2325,7 +2325,7 @@ static int bpf_prog_get_info_by_fd(struct bpf_prog *prog, union bpf_attr __user *uattr) {struct bpf_prog_info __user *uinfo =u64_to_user_ptr (attr->info.info); -struct bpf_prog_info info = {}; +struct bpf_prog_info info;u32 info_len = attr->info.info_len;struct bpf_prog_stats stats;char __user *uinsns;
@@ -2337,6 +2337,7 @@ static int bpf_prog_get_info_by_fd(struct bpf_prog *prog,return err; info_len =min_t (u32,sizeof (info), info_len); +memset (&info,0 ,sizeof (info));if (copy_from_user (&info, uinfo, info_len))return -EFAULT ;
@@ -2600,7 +2601,7 @@ static int bpf_map_get_info_by_fd(struct bpf_map *map, union bpf_attr __user *uattr) {struct bpf_map_info __user *uinfo =u64_to_user_ptr (attr->info.info); -struct bpf_map_info info = {}; +struct bpf_map_info info;u32 info_len = attr->info.info_len;int err;
@@ -2609,6 +2610,7 @@ static int bpf_map_get_info_by_fd(struct bpf_map *map,return err; info_len =min_t (u32,sizeof (info), info_len); +memset (&info,0 ,sizeof (info)); info.type = map->map_type; info.id = map->id; info.key_size = map->key_size;
@@ -2836,7 +2838,7 @@ static int bpf_task_fd_query(const union bpf_attr *attr, SYSCALL_DEFINE3(bpf, int, cmd, union bpf_attr __user *, uattr, unsigned int, size) { -union bpf_attr attr = {}; +union bpf_attr attr;int err;if (sysctl_unprivileged_bpf_disabled && !capable (CAP_SYS_ADMIN ))
@@ -2848,6 +2850,7 @@ SYSCALL_DEFINE3(bpf, int, cmd, union bpf_attr __user *, uattr, unsigned int, siz size =min_t (u32, size,sizeof (attr));/* copy attributes from user space, may be less than sizeof(bpf_attr) */ +memset (&attr,0 ,sizeof (attr));if (copy_from_user (&attr, uattr, size) !=0 )return -EFAULT ;
net/ceph/messenger.c +7 -2
@@ -3250,12 +3250,16 @@ static struct ceph_msg_data *ceph_msg_data_add(struct ceph_msg *msg)static void ceph_msg_data_destroy (struct ceph_msg_data *data) { -if (data->type ==CEPH_MSG_DATA_PAGELIST ) +if (data->type ==CEPH_MSG_DATA_PAGES && data->own_pages) { +int num_pages =calc_pages_for (data->alignment, data->length); +ceph_release_page_vector (data->pages, num_pages); + }else if (data->type ==CEPH_MSG_DATA_PAGELIST ) {ceph_pagelist_release (data->pagelist); + } }void ceph_msg_data_add_pages (struct ceph_msg *msg,struct page **pages, -size_t length,size_t alignment) +size_t length,size_t alignment,bool own_pages) {struct ceph_msg_data *data;
@@ -3267,6 +3271,7 @@ void ceph_msg_data_add_pages(struct ceph_msg *msg, struct page **pages, data->pages = pages; data->length = length; data->alignment = alignment & ~PAGE_MASK ; + data->own_pages = own_pages; msg->data_length += length; }
net/ceph/osd_client.c +3 -11
@@ -962,7 +962,7 @@ static void ceph_osdc_msg_data_add(struct ceph_msg *msg,BUG_ON (length > (u64 )SIZE_MAX );if (length)ceph_msg_data_add_pages (msg, osd_data->pages, - length, osd_data->alignment); + length, osd_data->alignment, false); }else if (osd_data->type ==CEPH_OSD_DATA_TYPE_PAGELIST ) {BUG_ON (!length);ceph_msg_data_add_pagelist (msg, osd_data->pagelist);
@@ -4436,9 +4436,7 @@ static void handle_watch_notify(struct ceph_osd_client *osdc, CEPH_MSG_DATA_PAGES); *lreq->preply_pages = data->pages; *lreq->preply_len = data->length; - }else { -ceph_release_page_vector (data->pages, -calc_pages_for (0 , data->length)); + data->own_pages = false; } } lreq->notify_finish_error = return_code;
@@ -5500,9 +5498,6 @@ static struct ceph_msg *get_reply(struct ceph_connection *con,return m; } -/* -* TODO: switch to a msg-owned pagelist -*/ static struct ceph_msg *alloc_msg_with_page_vector (struct ceph_msg_header *hdr) {struct ceph_msg *m;
@@ -5516,7 +5511,6 @@ static struct ceph_msg *alloc_msg_with_page_vector(struct ceph_msg_header *hdr)if (data_len) {struct page **pages; -struct ceph_osd_data osd_data; pages =ceph_alloc_page_vector (calc_pages_for (0 , data_len),GFP_NOIO );
@@ -5525,9 +5519,7 @@ static struct ceph_msg *alloc_msg_with_page_vector(struct ceph_msg_header *hdr)return NULL ; } -ceph_osd_data_pages_init (&osd_data, pages, data_len,0 , false, - false); -ceph_osdc_msg_data_add (m, &osd_data); +ceph_msg_data_add_pages (m, pages, data_len,0 , true); }return m;
net/mac80211/tx.c +19 -1
@@ -3596,8 +3596,26 @@ struct sk_buff *ieee80211_tx_dequeue(struct ieee80211_hw *hw, tx.skb = skb; tx.sdata =vif_to_sdata (info->control.vif); -if (txq->sta) +if (txq->sta) { tx.sta = container_of(txq->sta, struct sta_info, sta); +/* +* Drop unicast frames to unauthorised stations unless they are +* EAPOL frames from the local station. +*/ +if (unlikely (ieee80211_is_data (hdr->frame_control) && + !ieee80211_vif_is_mesh (&tx.sdata->vif) && + tx.sdata->vif.type !=NL80211_IFTYPE_OCB && + !is_multicast_ether_addr (hdr->addr1) && + !test_sta_flag (tx.sta,WLAN_STA_AUTHORIZED ) && + (!(info->control.flags & +IEEE80211_TX_CTRL_PORT_CTRL_PROTO ) || + !ether_addr_equal (tx.sdata->vif.addr, + hdr->addr2)))) { +I802_DEBUG_INC (local->tx_handlers_drop_unauth_port); +ieee80211_free_txskb (&local->hw, skb); + goto begin; + } + }/* * The key can be removed while the packet was queued, so need to call
tools/perf/util/map.c +1 -1
@@ -90,7 +90,7 @@ static inline bool replace_android_lib(const char *filename, char *newfilename)return true; } -if (!strncmp (filename,"/system/lib/" ,11 )) { +if (!strncmp (filename,"/system/lib/" ,12 )) {char *ndk, *app;const char *arch;size_t ndk_length;