vxlan: using kfree_rcu() to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 16 Aug 2013 23:32:09 +0000 (07:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2013 22:05:03 +0000 (15:05 -0700)
commitdcdc7a5929842ca0df91eb50de9edebbb5e4e7d1
treefc7860d3d52e472c418639b81c0dc55c2b53d9c3
parente7fb06a1b4d1c5bdcbbf78f7c7e938835395bcdb
vxlan: using kfree_rcu() to simplify the code

The callback function of call_rcu() just calls a kfree(), so we
can use kfree_rcu() instead of call_rcu() + callback function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c