]> git.baikalelectronics.ru Git - kernel.git/commit
i40iw: Assign MSS only when it is a new MTU
authorMustafa Ismail <mustafa.ismail@intel.com>
Tue, 6 Dec 2016 21:49:34 +0000 (15:49 -0600)
committerDoug Ledford <dledford@redhat.com>
Mon, 12 Dec 2016 22:20:28 +0000 (17:20 -0500)
commit8a5bfc1646c19460af86ae48ee2ff7c53a41f8d7
treedd3237402abe420c6df5cd8f6864ef5781b464d8
parentda478f934f488599688bec0c7078348cb4f45309
i40iw: Assign MSS only when it is a new MTU

Currently we are changing the MSS regardless of whether
there is a change or not in MTU. Fix to make the
assignment of MSS dependent on an MTU change.

Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Henry Orosco <henry.orosco@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_main.c