[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20111129.190037.1527680744377783412.davem@davemloft.net>
Date: Tue, 29 Nov 2011 19:00:37 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ulrich.weber@...hos.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/3] xfrm: add incoming interface to selector
From: Ulrich Weber <ulrich.weber@...hos.com>
Date: Mon, 28 Nov 2011 21:14:50 +0100
> Current implementation only allows to match for outgoing
> interface in xfrm policy database.
>
> This replaces the user ID (which was never used) with the
> incoming interface, so both interfaces can be matched against.
>
> Signed-off-by: Ulrich Weber <ulrich.weber@...hos.com>
This isn't safe, because we have no idea if existing users are putting
garbage there. So your change can break things.
You'll have to add a netlink attribute or similar.
--
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