[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20220308111043.1018a59d@canb.auug.org.au>
Date: Tue, 8 Mar 2022 11:10:43 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: David Miller <davem@...emloft.net>,
Networking <netdev@...r.kernel.org>, Greg KH <greg@...ah.com>
Cc: Dan Carpenter <dan.carpenter@...cle.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Subject: linux-next: manual merge of the net-next tree with the
staging.current tree
Hi all,
Today's linux-next merge of the net-next tree got a conflict in:
drivers/staging/gdm724x/gdm_lte.c
between commit:
fc7f750dc9d1 ("staging: gdm724x: fix use after free in gdm_lte_rx()")
from the staging.current tree and commit:
4bcc4249b4cf ("staging: Use netif_rx().")
from the net-next tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc drivers/staging/gdm724x/gdm_lte.c
index 0d8d8fed283d,2587309da766..000000000000
--- a/drivers/staging/gdm724x/gdm_lte.c
+++ b/drivers/staging/gdm724x/gdm_lte.c
@@@ -76,10 -76,9 +76,10 @@@ static void tx_complete(void *arg
static int gdm_lte_rx(struct sk_buff *skb, struct nic *nic, int nic_type)
{
- int ret;
+ int ret, len;
+ len = skb->len + ETH_HLEN;
- ret = netif_rx_ni(skb);
+ ret = netif_rx(skb);
if (ret == NET_RX_DROP) {
nic->stats.rx_dropped++;
} else {
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists