[PATCH 04/33] Fix {ip,6}_route_me_harder() in netns

Patrick McHardy kaber at trash.net
Mon Sep 8 22:44:30 PDT 2008


Alexey Dobriyan wrote:
> Take netns from skb->dst->dev. It should be safe because, they are called
> from LOCAL_OUT hook where dst is valid (though, I'm not exactly sure about
> IPVS and queueing packets to userspace).

Its safe in all cases since they already expect to only get
called when skb->dst is valid.

Applied, thanks.


More information about the Containers mailing list