On Wed, Mar 02, 2011 at 07:20:32PM -0800, Jesse Gross wrote:
> Netlink attributes have a maximum length of 64k.  It's theoretically
> possible that a packet could exceed this length, so check for it before
> we try to send the packet to userspace.
> 
> Signed-off-by: Jesse Gross <[email protected]>

It's too bad that the kernel doesn't have UINT16_MAX.  I guess
USHRT_MAX will always have the same value.

Acked-by: Ben Pfaff <[email protected]>

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev_openvswitch.org

Reply via email to