diff options
Diffstat (limited to 'net/dccp/probe.c')
| -rw-r--r-- | net/dccp/probe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/dccp/probe.c b/net/dccp/probe.c index bace1d8cbcfd..078e48d442fd 100644 --- a/net/dccp/probe.c +++ b/net/dccp/probe.c | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | #include <linux/module.h> | 30 | #include <linux/module.h> |
| 31 | #include <linux/kfifo.h> | 31 | #include <linux/kfifo.h> |
| 32 | #include <linux/vmalloc.h> | 32 | #include <linux/vmalloc.h> |
| 33 | #include <linux/gfp.h> | ||
| 33 | #include <net/net_namespace.h> | 34 | #include <net/net_namespace.h> |
| 34 | 35 | ||
| 35 | #include "dccp.h" | 36 | #include "dccp.h" |
| @@ -161,8 +162,8 @@ static __init int dccpprobe_init(void) | |||
| 161 | if (!proc_net_fops_create(&init_net, procname, S_IRUSR, &dccpprobe_fops)) | 162 | if (!proc_net_fops_create(&init_net, procname, S_IRUSR, &dccpprobe_fops)) |
| 162 | goto err0; | 163 | goto err0; |
| 163 | 164 | ||
| 164 | ret = try_then_request_module((register_jprobe(&dccp_send_probe) == 0), | 165 | try_then_request_module((ret = register_jprobe(&dccp_send_probe)) == 0, |
| 165 | "dccp"); | 166 | "dccp"); |
| 166 | if (ret) | 167 | if (ret) |
| 167 | goto err1; | 168 | goto err1; |
| 168 | 169 | ||
