~mreed8855/ubuntu/+source/linux/+git/focal:fnic_cisco_ver2

Last commit made on 2022-08-04
Get this branch:
git clone -b fnic_cisco_ver2 https://git.launchpad.net/~mreed8855/ubuntu/+source/linux/+git/focal
Only Michael Reed can upload to this branch. If you are Michael Reed please log in for upload directions.

Branch merges

Branch information

Name:
fnic_cisco_ver2
Repository:
lp:~mreed8855/ubuntu/+source/linux/+git/focal

Recent commits

669ddf0... by Karan Tilak Kumar

scsi: fnic: Validate io_req before others

We need to check for a valid io_req before we check other data. Also,
remove redundant checks.

BugLink: https://launchpad.net/bugs/1978247

Link: https://<email address hidden>
Reviewed-by: Arulprabhu Ponnusamy <email address hidden>
Co-developed-by: Satish Kharat <email address hidden>
Signed-off-by: Satish Kharat <email address hidden>
Signed-off-by: Karan Tilak Kumar <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit 3256b4682386298ec106c1d1896b064f6a291f88)
Signed-off-by: Michael Reed <email address hidden>

8a6e35a... by Karan Tilak Kumar

scsi: fnic: Set scsi_set_resid() only for underflow

Set scsi_set_resid() only if FCPIO_ICMND_CMPL_RESID_UNDER is set.

BugLink: https://launchpad.net/bugs/1978247

Link: https://<email address hidden>
Reviewed-by: Arulprabhu Ponnusamy <email address hidden>
Co-developed-by: Satish Kharat <email address hidden>
Signed-off-by: Satish Kharat <email address hidden>
Signed-off-by: Karan Tilak Kumar <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit 74ae6d6a6805f9fe162e4527d8ff0f7d2f9bc0d0)
Signed-off-by: Michael Reed <email address hidden>

7d47588... by Karan Tilak Kumar

scsi: fnic: Change shost_printk() to FNIC_MAIN_DBG()

Replace shost_printk() with FNIC_MAIN_DBG() so that these log messages are
controlled by fnic_log_level flag in fnic_handle_link.

BugLink: https://launchpad.net/bugs/1978247

Link: https://<email address hidden>
Reviewed-by: Arulprabhu Ponnusamy <email address hidden>
Co-developed-by: Satish Kharat <email address hidden>
Signed-off-by: Satish Kharat <email address hidden>
Signed-off-by: Karan Tilak Kumar <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit 875d4eda3bd67315418f4e6f6725a877aa1786b5)
Signed-off-by: Michael Reed <email address hidden>

6b38983... by Karan Tilak Kumar

scsi: fnic: Avoid looping in TRANS ETH on unload

Avoid looping in fnic_scsi_abort_io() before sending fw reset when fnic is
in TRANS ETH state and when we have not received any link events.

BugLink: https://launchpad.net/bugs/1978247

Link: https://<email address hidden>
Reviewed-by: Arulprabhu Ponnusamy <email address hidden>
Co-developed-by: Satish Kharat <email address hidden>
Signed-off-by: Satish Kharat <email address hidden>
Signed-off-by: Karan Tilak Kumar <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit f9e2beb990f0836b642e5e7d1bed285bbc137c83)
Signed-off-by: Michael Reed <email address hidden>

c160deb... by Karan Tilak Kumar

scsi: fnic: Change shost_printk() to FNIC_FCS_DBG()

Replacing shost_printk with FNIC_FCS_DBG() so that these log messages are
controlled by fnic_log_level flag in fnic_fip_handler_timer.

Bumping up version number from 47 to 49 to maintain same level as internal
version.

BugLink: https://launchpad.net/bugs/1978247

Link: https://<email address hidden>
Reviewed-by: Arulprabhu Ponnusamy <email address hidden>
Co-developed-by: Satish Kharat <email address hidden>
Signed-off-by: Satish Kharat <email address hidden>
Signed-off-by: Karan Tilak Kumar <email address hidden>
Signed-off-by: Martin K. Petersen <email address hidden>
(cherry picked from commit 90b3a938031fd2da2000f84e58223971ad8f6df3)
Signed-off-by: Michael Reed <email address hidden>

5cdece6... by Pablo Neira Ayuso <email address hidden>

netfilter: nf_tables: stricter validation of element data

Make sure element data type and length do not mismatch the one specified
by the set declaration.

Fixes: 7d7402642eaf ("netfilter: nf_tables: variable sized set element keys / data")
Reported-by: Hugues ANGUELKOV <email address hidden>
Signed-off-by: Pablo Neira Ayuso <email address hidden>

CVE-2022-34918
(backported from commit 7e6bc1f6cabcd30aba0b11219d8e01b952eacbb6)
[cengizcan: target function does not exist until 5.8 so follow history
backwards, find previous place of length check and adapt the change for
5.4]
Signed-off-by: Cengiz Can <email address hidden>
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Zachary Tahenakos <<email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

4279301... by Slawomir Mrozowicz <email address hidden>

ixgbevf: add disable link state

Add possibility to disable link state if it is administratively
disabled in PF.

It is part of the general functionality that allows the PF driver
to control the state of the virtual link VF devices.

Signed-off-by: Slawomir Mrozowicz <email address hidden>
Tested-by: Konrad Jankowski <email address hidden>
Signed-off-by: Tony Nguyen <email address hidden>

CVE-2021-33061
(backported from commit 443ebdd68b443ea0798c883e8aabf10d75268e92)
[cengizcan: IXGBE_VT_MSGTYPE_{NACK|ACK} were renamed in v5.17 with
commit 0edbecd57057 and the patch depends on new names. Add aliases
into `mbx.h` to fix compilation and preserve maintainability.]
Signed-off-by: Cengiz Can <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

c7f9625... by Slawomir Mrozowicz <email address hidden>

ixgbe: add improvement for MDD response functionality

The 82599 PF driver disable VF driver after a special MDD event occurs.
Adds the option for administrators to control whether VFs are
automatically disabled after several MDD events.
The automatically disabling is now the default mode for 82599 PF driver,
as it is more reliable.

This addresses CVE-2021-33061.

Signed-off-by: Slawomir Mrozowicz <email address hidden>
Tested-by: Konrad Jankowski <email address hidden>
Signed-off-by: Tony Nguyen <email address hidden>

CVE-2021-33061
(backported from commit 008ca35f6e87be1d60b6af3d1ae247c6d5c2531d)
[cengizcan: we don't have commit dc221851ffd1 ("ixgbe: convert to
new udp_tunnel_nic infra") from 5.9 so change context accordingly]
Signed-off-by: Cengiz Can <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

a7645bb... by Slawomir Mrozowicz <email address hidden>

ixgbe: add the ability for the PF to disable VF link state

Add support for ndo_set_vf_link_state the Network Device Option that
allows the PF driver to control the virtual link state of the VF devices.
Without this change a VF cannot be disabled/enabled by the administrator.
In the implementation the auto state takes over PF link state to
VF link setting, the enable state is not supported, the disable state
shut off the VF link regardless of the PF setting.

Signed-off-by: Slawomir Mrozowicz <email address hidden>
Tested-by: Konrad Jankowski <email address hidden>
Signed-off-by: Tony Nguyen <email address hidden>

CVE-2021-33061
(cherry picked from commit 366fd1000995d4cf64e1a61a0d78a051550b9841)
Signed-off-by: Cengiz Can <email address hidden>
Acked-by: Stefan Bader <email address hidden>
Acked-by: Tim Gardner <email address hidden>
Signed-off-by: Stefan Bader <email address hidden>

5063db9... by Stefan Bader

UBUNTU: Ubuntu-5.4.0-123.139

Signed-off-by: Stefan Bader <email address hidden>