Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
We got slightly different patches removing a double word
in a comment in net/ipv4/raw.c - picked the version from net.
Simple conflict in drivers/net/ethernet/ibm/ibmvnic.c. Use cached
values instead of VNIC login response buffer (following what
commit 507ebe6444 ("ibmvnic: Fix use-after-free of VNIC login
response buffer") did).
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@@ -1907,7 +1907,7 @@ int phylink_mii_ioctl(struct phylink *pl, struct ifreq *ifr, int cmd)
|
||||
switch (cmd) {
|
||||
case SIOCGMIIPHY:
|
||||
mii->phy_id = pl->phydev->mdio.addr;
|
||||
/* fall through */
|
||||
fallthrough;
|
||||
|
||||
case SIOCGMIIREG:
|
||||
ret = phylink_phy_read(pl, mii->phy_id, mii->reg_num);
|
||||
@@ -1930,7 +1930,7 @@ int phylink_mii_ioctl(struct phylink *pl, struct ifreq *ifr, int cmd)
|
||||
switch (cmd) {
|
||||
case SIOCGMIIPHY:
|
||||
mii->phy_id = 0;
|
||||
/* fall through */
|
||||
fallthrough;
|
||||
|
||||
case SIOCGMIIREG:
|
||||
ret = phylink_mii_read(pl, mii->phy_id, mii->reg_num);
|
||||
|
||||
Reference in New Issue
Block a user