[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120816.151151.1086500546875406230.davem@davemloft.net>
Date: Thu, 16 Aug 2012 15:11:51 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: john.r.fastabend@...el.com
Cc: viro@...IV.linux.org.uk, nhorman@...driver.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
joe@...ches.com
Subject: Re: [net PATCH v3 2/3] net: netprio: fd passed in SCM_RIGHTS
datagram not set correctly
From: John Fastabend <john.r.fastabend@...el.com>
Date: Tue, 14 Aug 2012 15:34:30 -0700
> A socket fd passed in a SCM_RIGHTS datagram was not getting
> updated with the new tasks cgrp prioidx. This leaves IO on
> the socket tagged with the old tasks priority.
>
> To fix this add a check in the scm recvmsg path to update the
> sock cgrp prioidx with the new tasks value.
>
> Thanks to Al Viro for catching this.
>
> CC: Neil Horman <nhorman@...driver.com>
> Reported-by: Al Viro <viro@...IV.linux.org.uk>
> Signed-off-by: John Fastabend <john.r.fastabend@...el.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists