Skip to content

Commit d8d0169

Browse files
committed
Merge: net: ntb_netdev: Move ntb_netdev_rx_handler() to call netif_rx() from __netif_rx()
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/4928 ``` JIRA: https://issues.redhat.com/browse/RHEL-51754 CVE: CVE-2024-42110 Signed-off-by: Myron Stowe <mstowe@redhat.com> ``` Approved-by: John W. Linville <linville@redhat.com> Approved-by: David Arcari <darcari@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: Lucas Zampieri <lzampier@redhat.com>
2 parents 8d548b3 + e2ec8fd commit d8d0169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ntb_netdev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ static void ntb_netdev_rx_handler(struct ntb_transport_qp *qp, void *qp_data,
119119
skb->protocol = eth_type_trans(skb, ndev);
120120
skb->ip_summed = CHECKSUM_NONE;
121121

122-
if (__netif_rx(skb) == NET_RX_DROP) {
122+
if (netif_rx(skb) == NET_RX_DROP) {
123123
ndev->stats.rx_errors++;
124124
ndev->stats.rx_dropped++;
125125
} else {

0 commit comments

Comments
 (0)