mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[NETFILTER]: nf_log: constify struct nf_logger and nf_log_packet loginfo arg
Signed-off-by: Patrick McHardy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
f01ffbd6e7
commit
7b2f9631e7
7 changed files with 13 additions and 13 deletions
|
|
@ -183,7 +183,7 @@ static struct ebt_watcher log =
|
|||
.me = THIS_MODULE,
|
||||
};
|
||||
|
||||
static struct nf_logger ebt_log_logger = {
|
||||
static const struct nf_logger ebt_log_logger = {
|
||||
.name = "ebt_log",
|
||||
.logfn = &ebt_log_packet,
|
||||
.me = THIS_MODULE,
|
||||
|
|
|
|||
|
|
@ -279,7 +279,7 @@ static struct ebt_watcher ulog = {
|
|||
.me = THIS_MODULE,
|
||||
};
|
||||
|
||||
static struct nf_logger ebt_ulog_logger = {
|
||||
static const struct nf_logger ebt_ulog_logger = {
|
||||
.name = EBT_ULOG_WATCHER,
|
||||
.logfn = &ebt_log_packet,
|
||||
.me = THIS_MODULE,
|
||||
|
|
|
|||
Loading…
Reference in a new issue