netns: rename peernet2id() to peernet2id_alloc()
[deliverable/linux.git] / drivers / net / vxlan.c
index 3517ab0aa803a24b6f8ff48c45fc51cfa032adf1..48341ae490129221d491b516da9f801e9bf8a2e8 100644 (file)
@@ -336,7 +336,7 @@ static int vxlan_fdb_info(struct sk_buff *skb, struct vxlan_dev *vxlan,
 
        if (!net_eq(dev_net(vxlan->dev), vxlan->net) &&
            nla_put_s32(skb, NDA_LINK_NETNSID,
-                       peernet2id(dev_net(vxlan->dev), vxlan->net)))
+                       peernet2id_alloc(dev_net(vxlan->dev), vxlan->net)))
                goto nla_put_failure;
 
        if (send_eth && nla_put(skb, NDA_LLADDR, ETH_ALEN, &fdb->eth_addr))
This page took 0.085838 seconds and 5 git commands to generate.