Skip to contentSkip to conversation

Request for reviews for 4.4-st45, 4.4-cip80

DISCUSSION Ulrich Hecht 3 participants 5 messages Oct 3, 2023 – Oct 9, 2023

lore
Share & tools
lore
#0 lore raw

Hi!

Here are the manual backports for the upcoming 4.4-st45 and 4.4-cip80 releases that should be reviewed and that can currently be found in
https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/log/?h=linux-4.4.y-st-rc

As usual, most are trivial or near-trivial:

** m-| dbcfa782d 1b90af o+ | ipvs: Improve robustness to the ipvs sysctl
** m-| 69197b2b2 30188b o+ | rtnetlink: Reject negative ifindexes in RTM_NEWLINK
** m-| a345df7a7 19fd80 o  | udf: Handle error when adding extent to a file
** m-| dd59a78d3 0c8b0b o+ | regmap: rbtree: Use alloc_flags for memory allocations
** m-| 76b08ed96 a1db7b .+ | media: dib7000p: Fix potential division by zero
** m-| 4573b3a8b c05ce6 .+ | dmaengine: ste_dma40: Add missing IRQ check in d40_probe
** m-| 2f2a59053 3a21ff o  | ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer
** m-| b2f54ed77 7bf744 .  | media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer
** m-| 50abe4b37 e110f8 o  | btrfs: fix lockdep splat and potential deadlock after failure running delayed item
** mo| 58a3d1d4b 531076 o+ | ipvs: fix racy memcpy in proc_do_sync_threshold
** mo| 29410001f 9baeea .+ | serial: sc16is7xx: fix bug when first setting GPIO direction
** mo| 82e36f0c2 6372e2 f+ | NFSD: da_addr_body field missing in some GETDEVICEINFO replies

On the surface, this one is trivial as well, but I can't shake the feeling that I may have missed something here:

** m+| 72a1ad58c b888c5 o+ | igb: Avoid starting unnecessary workqueues

Thanks for having a look.

CU
Uli

#1 lore raw

Hi Uli,

Thanks for your work.
I reviewed the commits on the -st branch.

udf: merge bh free:
you forget upstream commit tag.
commit 02d4ca49fa222021988b2791c8efefd70d3228ac upstream.

other commits are LGTM.

Best regards,
Nobuhiro

Quoted 47 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Ulrich Hecht
Sent: Tuesday, October 3, 2023 4:23 PM
To: [email protected]; [email protected]
Subject: [cip-dev] Request for reviews for 4.4-st45, 4.4-cip80

Hi!

Here are the manual backports for the upcoming 4.4-st45 and 4.4-cip80 releases that should be reviewed and that can currently be found in
https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/log/?h=linu
x-4.4.y-st-rc

As usual, most are trivial or near-trivial:

** m-| dbcfa782d 1b90af o+ | ipvs: Improve robustness to the ipvs sysctl
** m-| 69197b2b2 30188b o+ | rtnetlink: Reject negative ifindexes in
RTM_NEWLINK
** m-| a345df7a7 19fd80 o  | udf: Handle error when adding extent to a file
** m-| dd59a78d3 0c8b0b o+ | regmap: rbtree: Use alloc_flags for memory
allocations
** m-| 76b08ed96 a1db7b .+ | media: dib7000p: Fix potential division by zero
** m-| 4573b3a8b c05ce6 .+ | dmaengine: ste_dma40: Add missing IRQ check

in d40_probe
** m-| 2f2a59053 3a21ff o | ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer
** m-| b2f54ed77 7bf744 . | media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer
** m-| 50abe4b37 e110f8 o | btrfs: fix lockdep splat and potential deadlock after failure running delayed item
** mo| 58a3d1d4b 531076 o+ | ipvs: fix racy memcpy in proc_do_sync_threshold
** mo| 29410001f 9baeea .+ | serial: sc16is7xx: fix bug when first setting GPIO direction
** mo| 82e36f0c2 6372e2 f+ | NFSD: da_addr_body field missing in some GETDEVICEINFO replies

On the surface, this one is trivial as well, but I can't shake the feeling that I may have missed something here:

** m+| 72a1ad58c b888c5 o+ | igb: Avoid starting unnecessary workqueues

Thanks for having a look.

CU
Uli

#2 lore raw
Quoted 6 lines · CEST Nobuhiro Iwamatsu

Hi Uli,

Thanks for your work.
I reviewed the commits on the -st branch.

Thank you!

Quoted 3 lines

udf: merge bh free:
you forget upstream commit tag.
commit 02d4ca49fa222021988b2791c8efefd70d3228ac upstream.

OK, I'll fix it up.

CU
Uli

#3 lore raw
In reply to Ulrich Hecht

Hi!

There's additional patch, 67c786df30255e5d38e62852bcfd434168ed1e6e "udf: merge bh free", 02d4ca49fa222021988b2791c8efefd70d3228ac upstream, but does not seem to have upstream marking.

Quoted 6 lines

Here are the manual backports for the upcoming 4.4-st45 and 4.4-cip80 releases that should be reviewed and that can currently be found in
https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/log/?h=linux-4.4.y-st-rc

As usual, most are trivial or near-trivial:

** m-| dbcfa782d 1b90af o+ | ipvs: Improve robustness to the ipvs sysctl

I don't see this patch when going from 48d33e0df7175b69a683cece4408dc61d3daf8dc.

-- ** m-| 69197b2b2 30188b o+ | rtnetlink: Reject negative ifindexes
in RTM_NEWLINK

It should do "goto errout" for consistency with rest of the code... but it will not cause any problem as errout: simply returns.

But... it looks like wrong function is patched..? I see a place in rtnl_newlink() where I'd expect the patch to go?

a just a robustness > ** m-| a345df7a7 19fd80 o | udf: Handle error when adding extent to a file

a-| dd59a78d3 0c8b0b o+ | regmap: rbtree: Use alloc_flags for memory allocations
a-| 76b08ed96 a1db7b .+ | media: dib7000p: Fix potential division by zero
a-| 4573b3a8b c05ce6 .+ | dmaengine: ste_dma40: Add missing IRQ check in d40_probe
a-| 2f2a59053 3a21ff o  | ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer

!! |
b2f54ed77 7bf744 . | media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer

This patch is wrong for two reasons:

1) it puts if () statement before declarations, that's not valid C89.

2) it returns with a lock held. It needs to drop the log before returning.

Both problems exist upstream.

a-| 50abe4b37 e110f8 o | btrfs: fix lockdep splat and potential deadlock after failure running delayed item

a| 58a3d1d4b 531076 o+ | ipvs: fix racy memcpy in proc_do_sync_threshold
a| 29410001f 9baeea .+ | serial: sc16is7xx: fix bug when first setting GPIO direction
a| 82e36f0c2 6372e2 f+ | NFSD: da_addr_body field missing in some GETDEVICEINFO replies
Quoted 1 line

On the surface, this one is trivial as well, but I can't shake the feeling that I may have missed something here:

a| 72a1ad58c b888c5 o+ | igb: Avoid starting unnecessary workqueues

Best regards,
Pavel

Signature · 2 lines
DENX Software Engineering GmbH,        Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#4 lore raw

Thank you for the reviews!

Quoted 4 lines · CEST Pavel Machek

There's additional patch, 67c786df30255e5d38e62852bcfd434168ed1e6e "udf: merge bh free", 02d4ca49fa222021988b2791c8efefd70d3228ac upstream, but does not seem to have upstream marking.

Fixed.

Quoted 3 lines
Quoted 1 line

** m-| dbcfa782d 1b90af o+ | ipvs: Improve robustness to the ipvs sysctl

I don't see this patch when going from 48d33e0df7175b69a683cece4408dc61d3daf8dc.

I guess I forgot to delete this from my list when I dropped it.

Quoted 8 lines

-- ** m-| 69197b2b2 30188b o+ | rtnetlink: Reject negative ifindexes
in RTM_NEWLINK

It should do "goto errout" for consistency with rest of the code... but it will not cause any problem as errout: simply returns.

But... it looks like wrong function is patched..? I see a place in rtnl_newlink() where I'd expect the patch to go?

Yeah, that's what it looks like in 6.1. Perhaps the 4.14 patch has been backported incorrectly? I'll leave that one out for now.

Quoted 4 lines

!! |
b2f54ed77 7bf744 . | media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer

Quoted 8 lines

This patch is wrong for two reasons:

1) it puts if () statement before declarations, that's not valid C89.

2) it returns with a lock held. It needs to drop the log before returning.

Both problems exist upstream.

Dropped.

CU
Uli