[ovs-dev] [PATCH 1/2] datapath: Compatibility code for __packed macro.

Ben Pfaff blp at nicira.com
Mon Dec 13 17:22:19 UTC 2010


On Sun, Dec 12, 2010 at 12:49:39PM -0800, Jesse Gross wrote:
> The __packed macro for structure packing wasn't introduced until 2.6.24,
> so define it ourselves.
> 
> Signed-off-by: Jesse Gross <jesse at nicira.com>

Acked-by: Ben Pfaff <blp at nicira.com>

Nits:

Is the #ifndef necessary?  Won't the #include_next take care of that anyway?

I always add include guards habitually, even when they are not
necessary.  I don't care that much, though.




More information about the dev mailing list