]> git.baikalelectronics.ru Git - kernel.git/commit
n_gsm: Fix length handling
authorKen Mills <ken.k.mills@intel.com>
Thu, 4 Nov 2010 15:16:42 +0000 (15:16 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 11 Nov 2010 19:06:09 +0000 (11:06 -0800)
commit7531492416cb7194ff22bd5d13576e95aa793f38
tree4d1f8b2e9eb7a6e585c3818cafa49f5840165941
parent8f69d41a99a9e72c4e40ce64ac0a320df0bdad8c
n_gsm: Fix length handling

If the mux is configured with a large mru/mtu the existing code gets the
byte ordering wrong for the header.

Signed-off-by: Ken Mills <ken.k.mills@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/n_gsm.c