diff options
Diffstat (limited to 'net/core/scm.c')
-rw-r--r-- | net/core/scm.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/net/core/scm.c b/net/core/scm.c index 681c976307b5..413cab89017d 100644 --- a/net/core/scm.c +++ b/net/core/scm.c | |||
@@ -130,6 +130,7 @@ void __scm_destroy(struct scm_cookie *scm) | |||
130 | } | 130 | } |
131 | } | 131 | } |
132 | } | 132 | } |
133 | EXPORT_SYMBOL(__scm_destroy); | ||
133 | 134 | ||
134 | int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p) | 135 | int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p) |
135 | { | 136 | { |
@@ -211,6 +212,7 @@ error: | |||
211 | scm_destroy(p); | 212 | scm_destroy(p); |
212 | return err; | 213 | return err; |
213 | } | 214 | } |
215 | EXPORT_SYMBOL(__scm_send); | ||
214 | 216 | ||
215 | int put_cmsg(struct msghdr * msg, int level, int type, int len, void *data) | 217 | int put_cmsg(struct msghdr * msg, int level, int type, int len, void *data) |
216 | { | 218 | { |
@@ -249,6 +251,7 @@ int put_cmsg(struct msghdr * msg, int level, int type, int len, void *data) | |||
249 | out: | 251 | out: |
250 | return err; | 252 | return err; |
251 | } | 253 | } |
254 | EXPORT_SYMBOL(put_cmsg); | ||
252 | 255 | ||
253 | void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) | 256 | void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) |
254 | { | 257 | { |
@@ -318,6 +321,7 @@ void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) | |||
318 | */ | 321 | */ |
319 | __scm_destroy(scm); | 322 | __scm_destroy(scm); |
320 | } | 323 | } |
324 | EXPORT_SYMBOL(scm_detach_fds); | ||
321 | 325 | ||
322 | struct scm_fp_list *scm_fp_dup(struct scm_fp_list *fpl) | 326 | struct scm_fp_list *scm_fp_dup(struct scm_fp_list *fpl) |
323 | { | 327 | { |
@@ -335,9 +339,4 @@ struct scm_fp_list *scm_fp_dup(struct scm_fp_list *fpl) | |||
335 | } | 339 | } |
336 | return new_fpl; | 340 | return new_fpl; |
337 | } | 341 | } |
338 | |||
339 | EXPORT_SYMBOL(__scm_destroy); | ||
340 | EXPORT_SYMBOL(__scm_send); | ||
341 | EXPORT_SYMBOL(put_cmsg); | ||
342 | EXPORT_SYMBOL(scm_detach_fds); | ||
343 | EXPORT_SYMBOL(scm_fp_dup); | 342 | EXPORT_SYMBOL(scm_fp_dup); |