netlink: Fix autobind race condition that leads to zero port ID
[linux-2.6-microblaze.git] / net / netlink / af_netlink.h
index df9a060..80b2b75 100644 (file)
@@ -25,6 +25,7 @@ struct netlink_ring {
 struct netlink_sock {
        /* struct sock has to be the first member of netlink_sock */
        struct sock             sk;
+       u32                     rhash_portid;
        u32                     portid;
        u32                     dst_portid;
        u32                     dst_group;