commit | f4c1c40c353fe602e12192d522b2358947da83bb | [log] [tgz] |
---|---|---|
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | Thu Jun 27 11:10:45 2019 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sat Jun 29 11:15:12 2019 -0700 |
tree | 077365ba226cef19f6da4c171dab3163634fd906 | |
parent | 9e10edd7dcd37ddf55d30d1f8f85ae9306306879 [diff] |
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>