net: tcp_probe: kprobes: adapt jtcp_rcv_established signature
authorDaniel Borkmann <dborkman@redhat.com>
Wed, 21 Aug 2013 17:47:59 +0000 (19:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Aug 2013 23:19:50 +0000 (16:19 -0700)
commitd8cdeda6ddbcb33debbb87590a7d42ff7f5b5cfd
tree19bb3437ee5e71bbc85a57186a007122e8d6fab5
parentb4c1c1d03842e6b24e87e48c07769e105df99985
net: tcp_probe: kprobes: adapt jtcp_rcv_established signature

This patches fixes a rather unproblematic function signature mismatch
as the const specifier was missing for the th variable; and next to
that it adds a build-time assertion so that future function signature
mismatches for kprobes will not end badly, similarly as commit 22222997
("net: sctp: add build check for sctp_sf_eat_sack_6_2/jsctp_sf_eat_sack")
did it for SCTP.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_probe.c