]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit83e0bbcbe2145f160fbaa109b0439dae7f4a38a9
treede3f516afc1878914855c9393b1e08c698ac378c
parent03ba999117eb8688252f9068356b6e028c2c3a56
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