summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorKonstantin Sharlaimov <konstantin.sharlaimov@gmail.com>2007-06-12 23:16:59 +0200
committerDavid S. Miller <davem@davemloft.net>2007-06-12 23:16:59 +0200
commit606f585e363527da9feaed79465132c0c661fd9e (patch)
tree1a4b22b46173ba2104211e54aa65375b25da5c65 /net/ipv6
parentMerge branch 'mac80211-fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadlinux-606f585e363527da9feaed79465132c0c661fd9e.tar.xz
linux-606f585e363527da9feaed79465132c0c661fd9e.zip
[PPP_MPPE]: Fix "osize too small" check.
Prevent mppe_decompress() from generating "osize too small" errors when checking for output buffer size. When receiving a packet of mru size the output buffer for decrypted data is 1 byte too small since mppe_decompress() tries to account for possible PFC, however later in code it is assumed no PFC. Adjusting the check prevented these errors from occurring. Signed-off-by: Konstantin Sharlaimov <konstantin.sharlaimov@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions