net: make neigh_ops constant
These tables are never modified at runtime. Move to read-only section. Signed-off-by:Stephen Hemminger <shemminger@vyatta.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/arp.h 1 addition, 1 deletioninclude/net/arp.h
- include/net/neighbour.h 1 addition, 1 deletioninclude/net/neighbour.h
- net/atm/clip.c 1 addition, 1 deletionnet/atm/clip.c
- net/decnet/dn_neigh.c 3 additions, 3 deletionsnet/decnet/dn_neigh.c
- net/ipv4/arp.c 4 additions, 4 deletionsnet/ipv4/arp.c
- net/ipv6/ndisc.c 3 additions, 3 deletionsnet/ipv6/ndisc.c
Loading
Please register or sign in to comment