[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 07 Aug 2011 22:53:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ja@....bg
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4: route non-local sources for raw socket
From: Julian Anastasov <ja@....bg>
Date: Sun, 7 Aug 2011 22:16:09 +0300 (EEST)
>
> The raw sockets can provide source address for
> routing but their privileges are not considered. We
> can provide non-local source address, make sure the
> FLOWI_FLAG_ANYSRC flag is set if socket has privileges
> for this, i.e. based on hdrincl (IP_HDRINCL) and
> transparent flags.
>
> Signed-off-by: Julian Anastasov <ja@....bg>
Applied.
--
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