]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb9bd961d489ca3fc9035466d269ac28afa4677da
tree19bb3437ee5e71bbc85a57186a007122e8d6fab5
parentbf0670baf6edf1fbadb0fccab4098212ea829b3b
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 dd4d597e
("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