aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/tcp_probe.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/ipv4/tcp_probe.c b/net/ipv4/tcp_probe.c
index dab37d2f65fc..4be336f17883 100644
--- a/net/ipv4/tcp_probe.c
+++ b/net/ipv4/tcp_probe.c
@@ -99,8 +99,10 @@ static int jtcp_sendmsg(struct kiocb *iocb, struct sock *sk,
99} 99}
100 100
101static struct jprobe tcp_send_probe = { 101static struct jprobe tcp_send_probe = {
102 .kp = { .addr = (kprobe_opcode_t *) &tcp_sendmsg, }, 102 .kp = {
103 .entry = (kprobe_opcode_t *) &jtcp_sendmsg, 103 .symbol_name = "tcp_sendmsg",
104 },
105 .entry = JPROBE_ENTRY(jtcp_sendmsg),
104}; 106};
105 107
106 108