Import of kernel-4.18.0-553.155.1.el8_10
This commit is contained in:
parent
26e49da668
commit
72e7bf404b
@ -12,7 +12,7 @@ RHEL_MINOR = 10
|
||||
#
|
||||
# Use this spot to avoid future merge conflicts.
|
||||
# Do not trim this comment.
|
||||
RHEL_RELEASE = 553.153.1
|
||||
RHEL_RELEASE = 553.155.1
|
||||
|
||||
#
|
||||
# ZSTREAM
|
||||
|
||||
@ -202,6 +202,8 @@ int iio_event_getfd(struct iio_dev *indio_dev)
|
||||
goto unlock;
|
||||
}
|
||||
|
||||
kfifo_reset_out(&ev_int->det_events);
|
||||
|
||||
iio_device_get(indio_dev);
|
||||
|
||||
fd = anon_inode_getfd("iio:event", &iio_event_chrdev_fileops,
|
||||
@ -209,10 +211,7 @@ int iio_event_getfd(struct iio_dev *indio_dev)
|
||||
if (fd < 0) {
|
||||
clear_bit(IIO_BUSY_BIT_POS, &ev_int->flags);
|
||||
iio_device_put(indio_dev);
|
||||
} else {
|
||||
kfifo_reset_out(&ev_int->det_events);
|
||||
}
|
||||
|
||||
unlock:
|
||||
mutex_unlock(&indio_dev->mlock);
|
||||
return fd;
|
||||
|
||||
@ -2294,6 +2294,9 @@ ice_xmit_frame_ring(struct sk_buff *skb, struct ice_tx_ring *tx_ring)
|
||||
|
||||
ice_trace(xmit_frame_ring, tx_ring, skb);
|
||||
|
||||
/* record the location of the first descriptor for this packet */
|
||||
first = &tx_ring->tx_buf[tx_ring->next_to_use];
|
||||
|
||||
count = ice_xmit_desc_count(skb);
|
||||
if (ice_chk_linearize(skb, count)) {
|
||||
if (__skb_linearize(skb))
|
||||
@ -2319,8 +2322,6 @@ ice_xmit_frame_ring(struct sk_buff *skb, struct ice_tx_ring *tx_ring)
|
||||
|
||||
offload.tx_ring = tx_ring;
|
||||
|
||||
/* record the location of the first descriptor for this packet */
|
||||
first = &tx_ring->tx_buf[tx_ring->next_to_use];
|
||||
first->skb = skb;
|
||||
first->bytecount = max_t(unsigned int, skb->len, ETH_ZLEN);
|
||||
first->gso_segs = 1;
|
||||
@ -2382,6 +2383,7 @@ ice_xmit_frame_ring(struct sk_buff *skb, struct ice_tx_ring *tx_ring)
|
||||
out_drop:
|
||||
ice_trace(xmit_frame_ring_drop, tx_ring, skb);
|
||||
dev_kfree_skb_any(skb);
|
||||
first->skb = NULL;
|
||||
return NETDEV_TX_OK;
|
||||
}
|
||||
|
||||
|
||||
@ -1596,8 +1596,9 @@ static struct udf_vds_record *handle_partition_descriptor(
|
||||
return &(data->part_descs_loc[i].rec);
|
||||
if (data->num_part_descs >= data->size_part_descs) {
|
||||
struct part_desc_seq_scan_data *new_loc;
|
||||
unsigned int new_size = ALIGN(partnum, PART_DESC_ALLOC_STEP);
|
||||
unsigned int new_size;
|
||||
|
||||
new_size = data->num_part_descs + PART_DESC_ALLOC_STEP;
|
||||
new_loc = kcalloc(new_size, sizeof(*new_loc), GFP_KERNEL);
|
||||
if (!new_loc)
|
||||
return ERR_PTR(-ENOMEM);
|
||||
@ -1607,6 +1608,7 @@ static struct udf_vds_record *handle_partition_descriptor(
|
||||
data->part_descs_loc = new_loc;
|
||||
data->size_part_descs = new_size;
|
||||
}
|
||||
data->part_descs_loc[data->num_part_descs].partnum = partnum;
|
||||
return &(data->part_descs_loc[data->num_part_descs++].rec);
|
||||
}
|
||||
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
sbat,1,SBAT Version,sbat,1,https://github.com/rhboot/shim/blob/main/SBAT.md
|
||||
kernel.centos,1,Red Hat,kernel-core,4.18.0-553.153.1.el8.x86_64,mailto:secalert@redhat.com
|
||||
kernel.centos,1,Red Hat,kernel-core,4.18.0-553.155.1.el8.x86_64,mailto:secalert@redhat.com
|
||||
|
||||
Loading…
Reference in New Issue
Block a user