]> git.baikalelectronics.ru Git - kernel.git/commit
af_rose/x25: Sanity check the maximum user frame size
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Fri, 27 Mar 2009 07:28:21 +0000 (00:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Mar 2009 07:28:21 +0000 (00:28 -0700)
commit170077adb80aa1321ced68fac2edd0be3f7e4d5e
treede3f516afc1878914855c9393b1e08c698ac378c
parent11aca08ed6f32905cb41442f913a4b4759ca3bc3
af_rose/x25: Sanity check the maximum user frame size

Otherwise we can wrap the sizes and end up sending garbage.

Closes #10423

Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netrom/af_netrom.c
net/rose/af_rose.c
net/x25/af_x25.c