diff options
Diffstat (limited to 'include/net/netns/generic.h')
-rw-r--r-- | include/net/netns/generic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netns/generic.h b/include/net/netns/generic.h index 81a31c0db3e..3419bf5cd15 100644 --- a/include/net/netns/generic.h +++ b/include/net/netns/generic.h | |||
@@ -30,7 +30,7 @@ struct net_generic { | |||
30 | void *ptr[0]; | 30 | void *ptr[0]; |
31 | }; | 31 | }; |
32 | 32 | ||
33 | static inline void *net_generic(struct net *net, int id) | 33 | static inline void *net_generic(const struct net *net, int id) |
34 | { | 34 | { |
35 | struct net_generic *ng; | 35 | struct net_generic *ng; |
36 | void *ptr; | 36 | void *ptr; |