Restore r302384 that was dropped when r303816 updated the driver to 1.6.6.-k
Original log: Do not initialize the adapter on MTU change when adapter status is down. This fixes long-standing problems when changing settings of the adapter. Discussed in: https://lists.freebsd.org/pipermail/freebsd-net/2016-June/045509.html Reported by: Franco Fichtner <franco@opnsense.org> MFH: 2 days
This commit is contained in:
parent
48f7957436
commit
3d33d7f39a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=311154
@ -4927,7 +4927,8 @@ ixl_ioctl(struct ifnet * ifp, u_long command, caddr_t data)
|
||||
vsi->max_frame_size =
|
||||
ifp->if_mtu + ETHER_HDR_LEN + ETHER_CRC_LEN
|
||||
+ ETHER_VLAN_ENCAP_LEN;
|
||||
ixl_init_locked(pf);
|
||||
if (ifp->if_drv_flags & IFF_DRV_RUNNING)
|
||||
ixl_init_locked(pf);
|
||||
IXL_PF_UNLOCK(pf);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user