datapath: Add genl_dereference() and use it.
authorJesse Gross <jesse@nicira.com>
Sat, 19 Nov 2011 21:25:43 +0000 (13:25 -0800)
committerJesse Gross <jesse@nicira.com>
Mon, 21 Nov 2011 18:29:17 +0000 (10:29 -0800)
commit20d035b27559fe3823a09d72293c81281d3516c4
tree22d548be4615195cdb9c7e7d08a8794f657119d6
parent821cb9fac77850ae3546ab38766a58ff5e75e8a8
datapath: Add genl_dereference() and use it.

We currently use a specialized version of what amounts to
genl_dereference() to protect the flow table.  This prepares to
propose genl_dereference() upstream and uses it instead of our
version.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/datapath.c
datapath/linux/compat/include/linux/genetlink.h