sock_diag: Fix module netlink aliases
I've made a mistake when fixing the sock_/inet_diag aliases :( 1. The sock_diag layer should request the family-based alias, not just the IPPROTO_IP one; 2. The inet_diag layer should request for AF_INET+protocol alias, not just the protocol one. Thus fix this. Signed-off-by:Pavel Emelyanov <xemul@parallels.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- net/core/sock_diag.c 2 additions, 2 deletionsnet/core/sock_diag.c
- net/dccp/diag.c 1 addition, 1 deletionnet/dccp/diag.c
- net/ipv4/inet_diag.c 4 additions, 3 deletionsnet/ipv4/inet_diag.c
- net/ipv4/tcp_diag.c 1 addition, 1 deletionnet/ipv4/tcp_diag.c
- net/ipv4/udp_diag.c 2 additions, 2 deletionsnet/ipv4/udp_diag.c
Loading
Please register or sign in to comment