diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2019-06-27 11:10:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-29 11:15:12 -0700 |
commit | f4c1c40c353fe602e12192d522b2358947da83bb (patch) | |
tree | 077365ba226cef19f6da4c171dab3163634fd906 /net/sched/act_nat.c | |
parent | 9e10edd7dcd37ddf55d30d1f8f85ae9306306879 (diff) | |
download | linux-f4c1c40c353fe602e12192d522b2358947da83bb.tar.bz2 |
net: sched: em_ipt: set the family based on the packet if it's unspecified
Set the family based on the packet if it's unspecified otherwise
protocol-neutral matches will have wrong information (e.g. NFPROTO_UNSPEC).
In preparation for using NFPROTO_UNSPEC xt matches.
v2: set the nfproto only when unspecified
Suggested-by: Eyal Birger <eyal.birger@gmail.com>
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_nat.c')
0 files changed, 0 insertions, 0 deletions