lkml.org 
[lkml]   [2022]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-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 {
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2022-03-08 01:12    [W:0.019 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site