Skip to contentSkip to conversation

Patch "mwifiex: illegal assignment" has been added to the 4.7-stable tree

PATCH [email protected] 1 participant 1 message Oct 4, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

mwifiex: illegal assignment

to the 4.7-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
mwifiex-illegal-assignment.patch
and it can be found in the queue-4.7 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 3fdbda446fbcd7fb750179c01338e81cf04e46c7 Mon Sep 17 00:00:00 2001

From: Heinrich Schuchardt <[email protected]>
Date: Wed, 18 May 2016 01:01:58 +0200
Subject: mwifiex: illegal assignment

From: Heinrich Schuchardt <[email protected]>

commit 3fdbda446fbcd7fb750179c01338e81cf04e46c7 upstream.

Variable adapter is incorrectly initialized.

Fixes bf00dc22bc7a ("mwifiex: AMSDU Rx frame handling in AP mode")
---
 drivers/net/wireless/marvell/mwifiex/uap_txrx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/marvell/mwifiex/uap_txrx.c +1 -1
@@ -272,7 +272,7 @@ int mwifiex_handle_uap_rx_forward(struct
 int mwifiex_uap_recv_packet(struct mwifiex_private *priv,
 			    struct sk_buff *skb)
 {
-	struct mwifiex_adapter *adapter = adapter;
+	struct mwifiex_adapter *adapter = priv->adapter;
 	struct mwifiex_sta_node *src_node;
 	struct ethhdr *p_ethhdr;
 	struct sk_buff *skb_uap;

Patches currently in stable-queue which might be from [email protected] are

queue-4.7/i40e-avoid-null-pointer-dereference.patch queue-4.7/mwifiex-illegal-assignment.patch