Fix compilation on Linux 2.6.20: declare NLMSG_DEFAULT_SIZE with this kernel.
authorBen Pfaff <blp@nicira.com>
Mon, 5 May 2008 19:08:00 +0000 (12:08 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 5 May 2008 21:56:28 +0000 (14:56 -0700)
commitff9464d2ad9b6aae4310932b58a8cc246caf213d
tree184fabda4ca95c1bcd522487071cb306bbec88d1
parent510763c8018c734f2dff60fe697fe51c50d6fbda
Fix compilation on Linux 2.6.20: declare NLMSG_DEFAULT_SIZE with this kernel.

NLMSG_DEFAULT_SIZE was introduced in 2.6.20-rc1 in commit 339bf98ff,
"[NETLINK]: Do precise netlink message allocations where possible", but
we only defined it for kernels 2.6.18 and earlier.  This change fixes
up the discrepancy.
datapath/linux-2.6/compat-2.6/include/linux/netlink.h