Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/freescale/fec_main.c between commit: 6ead9c98cafc ("net: fec: remove the xdp_return_frame when lack of tx BDs") from the net tree and commit: 144470c88c5d ("net: fec: using the standard return codes when xdp xmit errors") 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/net/ethernet/freescale/fec_main.c index 577d94821b3e,cd215ab20ff9..000000000000 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c @@@ -3798,7 -3798,8 +3798,7 @@@ static int fec_enet_txq_xmit_frame(stru entries_free = fec_enet_get_free_txdesc_num(txq); if (entries_free < MAX_SKB_FRAGS + 1) { netdev_err(fep->netdev, "NOT enough BD for SG!\n"); - return NETDEV_TX_BUSY; - xdp_return_frame(frame); + return -EBUSY; } /* Fill in a Tx ring entry */
Attachment:
pgpjB3QvLQN9n.pgp
Description: OpenPGP digital signature