• David S. Miller's avatar
    netlink: Fix build with mmap disabled. · 3dec2246
    David S. Miller authored
    net/netlink/diag.c: In function 'sk_diag_put_rings_cfg':
    net/netlink/diag.c:28:17: error: 'struct netlink_sock' has no member named 'pg_vec_lock'
    net/netlink/diag.c:29:29: error: 'struct netlink_sock' has no member named 'rx_ring'
    net/netlink/diag.c:31:30: error: 'struct netlink_sock' has no member named 'tx_ring'
    net/netlink/diag.c:33:19: error: 'struct netlink_sock' has no member named 'pg_vec_lock'
    Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    3dec2246
diag.c 4.93 KB