]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] TOKENRING: Remote memory corruptor in ibmtr.c
authorDavid Miller <davem@davemloft.net>
Tue, 5 Dec 2006 03:57:11 +0000 (19:57 -0800)
committerChris Wright <chrisw@sous-sol.org>
Mon, 11 Dec 2006 19:32:39 +0000 (11:32 -0800)
commitad8ca99ca28aba9961395dd59fdd1adfa6ad07fd
treeb3179eea16c25a01c02931b46b913226aa318ee0
parenta526d58e9f362189b49a3ca73315101ff0fc1dc1
[PATCH] TOKENRING: Remote memory corruptor in ibmtr.c

ip_summed changes last summer had missed that one.  As the result,
we have ip_summed interpreted as CHECKSUM_PARTIAL now.  IOW,
->csum is interpreted as offset of checksum in the packet.  net/core/*
will both read and modify the value as that offset, with obvious
reasons.  At the very least it's a remote memory corruptor.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/net/tokenring/ibmtr.c