diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-09-01 13:13:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-02 02:40:57 +0200 |
commit | 89d69d2b75a8f7e258f4b634cd985374cfd3202e (patch) | |
tree | 2f01d6ae1844c92ef09160ad1966edee34ee2d8a /net/atm | |
parent | au1000_eth: possible NULL dereference of aup->mii_bus->irq in au1000_probe() (diff) | |
download | linux-89d69d2b75a8f7e258f4b634cd985374cfd3202e.tar.xz linux-89d69d2b75a8f7e258f4b634cd985374cfd3202e.zip |
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>
Diffstat (limited to 'net/atm')
-rw-r--r-- | net/atm/clip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/clip.c b/net/atm/clip.c index 27f6852ce190..64629c354343 100644 --- a/net/atm/clip.c +++ b/net/atm/clip.c @@ -267,7 +267,7 @@ static void clip_neigh_error(struct neighbour *neigh, struct sk_buff *skb) kfree_skb(skb); } -static struct neigh_ops clip_neigh_ops = { +static const struct neigh_ops clip_neigh_ops = { .family = AF_INET, .solicit = clip_neigh_solicit, .error_report = clip_neigh_error, |