diff options
| author | Florian Westphal <[email protected]> | 2017-10-11 08:47:40 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2017-10-24 16:01:49 +0000 |
| commit | c4f3db15958277c03d1c324894255ea3ecbf86e1 (patch) | |
| tree | 0652feccc1b2ecc9040bc6a051a8c41e96d620db /net/nsh/nsh.c | |
| parent | netfilter: nat: use test_and_clear_bit when deleting ct from bysource list (diff) | |
| download | kernel-c4f3db15958277c03d1c324894255ea3ecbf86e1.tar.gz kernel-c4f3db15958277c03d1c324894255ea3ecbf86e1.zip | |
netfilter: conntrack: add and use nf_l4proto_log_invalid
We currently pass down the l4 protocol to the conntrack ->packet()
function, but the only user of this is the debug info decision.
Same information can be derived from struct nf_conn.
As a first step, add and use a new log function for this, similar to
nf_ct_helper_log().
Add __cold annotation -- invalid packets should be infrequent so
gcc can consider all call paths that lead to such a function as
unlikely.
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions
