diff options
| author | Jesse Gross <jesse@nicira.com> | 2011-01-30 16:01:56 -0800 |
|---|---|---|
| committer | Jesse Gross <jesse@nicira.com> | 2011-01-30 22:16:37 -0800 |
| commit | 3569d18f47f49c115d80033a3661ad31c13d06c9 (patch) | |
| tree | acb71438f66a6080db7886128786f44e8ad87754 /datapath/datapath.c | |
| parent | c18ea70d06e980dc768166881c5aeac0b3491561 (diff) | |
| download | openvswitch-3569d18f47f49c115d80033a3661ad31c13d06c9.tar.gz | |
datapath: Avoid nla_parse_nested const warning on < 2.6.22.
We mark our Netlink policies as const for safety but the argument
to nla_parse_nested didn't become const until 2.6.22, which provokes
warnings. This casts away the constness on affected kernels to
avoid the warnings.
Reported-by: Justin Pettit <jpettit@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'datapath/datapath.c')
0 files changed, 0 insertions, 0 deletions
