]> 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)
commit76090757c739722297e814df6df77280f64100a4
treedd3237402abe420c6df5cd8f6864ef5781b464d8
parentc53f438b175d47508bc16401865eae6d30b073d5
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