linux-next: manual merge of the net-next tree with the staging.current tree

From: Stephen Rothwell
Date: Mon Mar 07 2022 - 19:11:25 EST


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 {

Attachment: pgpt8NKZTfN4s.pgp
Description: OpenPGP digital signature