Skip to content

Commit e7841ca

Browse files
committed
Merge tag 'kernel-5.14.0-503.2.1.el9_5' into merge-up-kernel-5.14.0-503.2.1.el9_5
kernel-5.14.0-503.2.1.el9_5 Signed-off-by: Lucas Zampieri <lzampier@redhat.com>
2 parents db2eb2e + e77e228 commit e7841ca

File tree

4 files changed

+35
-7
lines changed

4 files changed

+35
-7
lines changed

drivers/net/ethernet/intel/ice/ice_main.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,9 @@ ice_prepare_for_reset(struct ice_pf *pf, enum ice_reset_req reset_type)
620620
memset(&vsi->mqprio_qopt, 0, sizeof(vsi->mqprio_qopt));
621621
}
622622
}
623+
624+
if (vsi->netdev)
625+
netif_device_detach(vsi->netdev);
623626
skip:
624627

625628
/* clear SW filtering DB */
@@ -7526,6 +7529,7 @@ static void ice_update_pf_netdev_link(struct ice_pf *pf)
75267529
*/
75277530
static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type)
75287531
{
7532+
struct ice_vsi *vsi = ice_get_main_vsi(pf);
75297533
struct device *dev = ice_pf_to_dev(pf);
75307534
struct ice_hw *hw = &pf->hw;
75317535
bool dvm;
@@ -7670,6 +7674,9 @@ static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type)
76707674
ice_rebuild_arfs(pf);
76717675
}
76727676

7677+
if (vsi && vsi->netdev)
7678+
netif_device_attach(vsi->netdev);
7679+
76737680
ice_update_pf_netdev_link(pf);
76747681

76757682
/* tell the firmware we are up */

drivers/s390/crypto/ap_bus.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,11 +997,16 @@ int ap_driver_register(struct ap_driver *ap_drv, struct module *owner,
997997
char *name)
998998
{
999999
struct device_driver *drv = &ap_drv->driver;
1000+
int rc;
10001001

10011002
drv->bus = &ap_bus_type;
10021003
drv->owner = owner;
10031004
drv->name = name;
1004-
return driver_register(drv);
1005+
rc = driver_register(drv);
1006+
1007+
ap_check_bindings_complete();
1008+
1009+
return rc;
10051010
}
10061011
EXPORT_SYMBOL(ap_driver_register);
10071012

net/sctp/sm_statefuns.c

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2261,12 +2261,6 @@ enum sctp_disposition sctp_sf_do_5_2_4_dupcook(
22612261
}
22622262
}
22632263

2264-
/* Update socket peer label if first association. */
2265-
if (security_sctp_assoc_request(new_asoc, chunk->head_skb ?: chunk->skb)) {
2266-
sctp_association_free(new_asoc);
2267-
return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands);
2268-
}
2269-
22702264
/* Set temp so that it won't be added into hashtable */
22712265
new_asoc->temp = 1;
22722266

@@ -2275,6 +2269,22 @@ enum sctp_disposition sctp_sf_do_5_2_4_dupcook(
22752269
*/
22762270
action = sctp_tietags_compare(new_asoc, asoc);
22772271

2272+
/* In cases C and E the association doesn't enter the ESTABLISHED
2273+
* state, so there is no need to call security_sctp_assoc_request().
2274+
*/
2275+
switch (action) {
2276+
case 'A': /* Association restart. */
2277+
case 'B': /* Collision case B. */
2278+
case 'D': /* Collision case D. */
2279+
/* Update socket peer label if first association. */
2280+
if (security_sctp_assoc_request((struct sctp_association *)asoc,
2281+
chunk->head_skb ?: chunk->skb)) {
2282+
sctp_association_free(new_asoc);
2283+
return sctp_sf_pdiscard(net, ep, asoc, type, arg, commands);
2284+
}
2285+
break;
2286+
}
2287+
22782288
switch (action) {
22792289
case 'A': /* Association restart. */
22802290
retval = sctp_sf_do_dupcook_a(net, ep, asoc, chunk, commands,

redhat/kernel.changelog-9.5

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
* Fri Sep 06 2024 Lucas Zampieri <lzampier@redhat.com> [5.14.0-503.2.1.el9_5]
2+
- sctp: fix association labeling in the duplicate COOKIE-ECHO case (Ondrej Mosnacek) [RHEL-48647]
3+
- s390/ap: Refine AP bus bindings complete processing (Cédric Le Goater) [RHEL-50373]
4+
- ice: Add netif_device_attach/detach into PF reset flow (Michal Schmidt) [RHEL-56084]
5+
Resolves: RHEL-48647, RHEL-50373, RHEL-56084
6+
17
* Tue Sep 03 2024 Lucas Zampieri <lzampier@redhat.com> [5.14.0-503.1.1.el9_5]
28
- usb: xhci: prevent potential failure in handle_tx_event() for Transfer events without TRB (Desnes Nunes) [RHEL-52378] {CVE-2024-42226}
39
- redhat: set defaults for RHEL 9.5 (Lucas Zampieri)

0 commit comments

Comments
 (0)