[PATCH] rds: Error on offset mismatch if not loopback

2012-09-21 Thread John Jolly
-off-by: John Jolly --- net/rds/ib_send.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/rds/ib_send.c b/net/rds/ib_send.c index e590949..7920c85 100644 --- a/net/rds/ib_send.c +++ b/net/rds/ib_send.c @@ -544,7 +544,7 @@ int rds_ib_xmit(struct rds_connection *conn

Re: [PATCH] rds: Error on offset mismatch if not loopback

2012-09-21 Thread John Jolly
On Fri, Sep 21, 2012 at 01:20:45PM -0400, David Miller wrote: > From: John Jolly > Date: Thu, 20 Sep 2012 01:11:34 -0600 > > > Attempting an rds connection from the IP address of an IPoIB interface > > to itself causes a kernel panic due to a BUG_ON() being triggered. Mak

[PATCH] rds: Error on offset mismatch if not loopback

2012-09-20 Thread John Jolly
Attempting an rds connection from the IP address of an IPoIB interface to itself causes a kernel panic due to a BUG_ON() being triggered. Making the test less strict allows rds-ping to work without crashing the machine. A local unprivileged user could use this flaw to crash the sytem. --- net/rds