OpenVZ Forum


Home » Mailing lists » Devel » [patch 0/2][NETNS][RFD] moving fl_net to dst_entry
[patch 0/2][NETNS][RFD] moving fl_net to dst_entry [message #24862] Tue, 11 December 2007 13:12 Go to previous message
Daniel Lezcano is currently offline  Daniel Lezcano
Messages: 417
Registered: June 2006
Senior Member
Actually the fl_net field from the struct flowi is not acceptable.

The patchset is a example in how we can use the dst_entry/rtable with flowi and
how we can retrieve netns with container_of. The interesting part is we can use
flowi to retrieve the netns without modifying the structure itself. The drawback
is we have to ensure in the network code flowi is not called without being
encaspulated in a rtable structure. As far as I see there are a few places where
we use flowi directly coming from a local variable in a function.

If this approach is acceptable, I can move forward and post something for ipv4.

-- 
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH] Signal semantics for /sbin/init
Next Topic: capturing init output
Goto Forum:
  


Current Time: Mon Aug 25 13:44:28 GMT 2025

Total time taken to generate the page: 0.06064 seconds