[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130121.141752.1744701325219813159.davem@davemloft.net>
Date: Mon, 21 Jan 2013 14:17:52 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: wagi@...om.org
Cc: netdev@...r.kernel.org, cgroups@...r.kernel.org,
lizefan@...wei.com, daniel.wagner@...-carit.de,
ebiederm@...ssion.com, viro@...iv.linux.org.uk,
john.r.fastabend@...el.com, nhorman@...driver.com
Subject: Re: [PATCH] net: net_cls: fd passed in SCM_RIGHTS datagram not set
correctly
From: Daniel Wagner <wagi@...om.org>
Date: Mon, 21 Jan 2013 10:38:22 +0100
> From: Daniel Wagner <daniel.wagner@...-carit.de>
>
> Commit 6a328d8c6f03501657ad580f6f98bf9a42583ff7 changed the update
> logic for the socket but it does not update the SCM_RIGHTS update
> as well. This patch is based on the net_prio fix commit
>
> 48a87cc26c13b68f6cce4e9d769fcb17a6b3e4b8
>
> net: netprio: fd passed in SCM_RIGHTS datagram not set correctly
>
> 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.
>
> Let's apply the same fix for net_cls.
>
> Reported-by: Li Zefan <lizefan@...wei.com>
You need to resubmit this, and proprly add a "Signed-off-by: " tag
for yourself.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists