]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit6b0805c25657f9b702607ed4617c2821343158c0
treedd3237402abe420c6df5cd8f6864ef5781b464d8
parentd627b506313c887e7159580cde926f5d14797aaa
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