Home
last modified time | relevance | path

Searched hist:ef71fe27ec2f1607e38af160ab261a8d8ef8e121 (Results 1 – 7 of 7) sorted by relevance

/linux/net/netfilter/
H A Dutils.cef71fe27ec2f1607e38af160ab261a8d8ef8e121 Mon Nov 27 21:55:14 CET 2017 Pablo Neira Ayuso <pablo@netfilter.org> netfilter: move checksum indirection to struct nf_ipv6_ops

We cannot make a direct call to nf_ip6_checksum() because that would
result in autoloading the 'ipv6' module because of symbol dependencies.
Therefore, define checksum indirection in nf_ipv6_ops where this really
belongs to.

For IPv4, we can indeed make a direct function call, which is faster,
given IPv4 is built-in in the networking code by default. Still,
CONFIG_INET=n and CONFIG_NETFILTER=y is possible, so define empty inline
stub for IPv4 in such case.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
H A DMakefilediff ef71fe27ec2f1607e38af160ab261a8d8ef8e121 Mon Nov 27 21:55:14 CET 2017 Pablo Neira Ayuso <pablo@netfilter.org> netfilter: move checksum indirection to struct nf_ipv6_ops

We cannot make a direct call to nf_ip6_checksum() because that would
result in autoloading the 'ipv6' module because of symbol dependencies.
Therefore, define checksum indirection in nf_ipv6_ops where this really
belongs to.

For IPv4, we can indeed make a direct function call, which is faster,
given IPv4 is built-in in the networking code by default. Still,
CONFIG_INET=n and CONFIG_NETFILTER=y is possible, so define empty inline
stub for IPv4 in such case.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
/linux/include/linux/
H A Dnetfilter_ipv4.hdiff ef71fe27ec2f1607e38af160ab261a8d8ef8e121 Mon Nov 27 21:55:14 CET 2017 Pablo Neira Ayuso <pablo@netfilter.org> netfilter: move checksum indirection to struct nf_ipv6_ops

We cannot make a direct call to nf_ip6_checksum() because that would
result in autoloading the 'ipv6' module because of symbol dependencies.
Therefore, define checksum indirection in nf_ipv6_ops where this really
belongs to.

For IPv4, we can indeed make a direct function call, which is faster,
given IPv4 is built-in in the networking code by default. Still,
CONFIG_INET=n and CONFIG_NETFILTER=y is possible, so define empty inline
stub for IPv4 in such case.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
H A Dnetfilter_ipv6.hdiff ef71fe27ec2f1607e38af160ab261a8d8ef8e121 Mon Nov 27 21:55:14 CET 2017 Pablo Neira Ayuso <pablo@netfilter.org> netfilter: move checksum indirection to struct nf_ipv6_ops

We cannot make a direct call to nf_ip6_checksum() because that would
result in autoloading the 'ipv6' module because of symbol dependencies.
Therefore, define checksum indirection in nf_ipv6_ops where this really
belongs to.

For IPv4, we can indeed make a direct function call, which is faster,
given IPv4 is built-in in the networking code by default. Still,
CONFIG_INET=n and CONFIG_NETFILTER=y is possible, so define empty inline
stub for IPv4 in such case.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
H A Dnetfilter.hdiff ef71fe27ec2f1607e38af160ab261a8d8ef8e121 Mon Nov 27 21:55:14 CET 2017 Pablo Neira Ayuso <pablo@netfilter.org> netfilter: move checksum indirection to struct nf_ipv6_ops

We cannot make a direct call to nf_ip6_checksum() because that would
result in autoloading the 'ipv6' module because of symbol dependencies.
Therefore, define checksum indirection in nf_ipv6_ops where this really
belongs to.

For IPv4, we can indeed make a direct function call, which is faster,
given IPv4 is built-in in the networking code by default. Still,
CONFIG_INET=n and CONFIG_NETFILTER=y is possible, so define empty inline
stub for IPv4 in such case.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
/linux/net/ipv4/
H A Dnetfilter.cdiff ef71fe27ec2f1607e38af160ab261a8d8ef8e121 Mon Nov 27 21:55:14 CET 2017 Pablo Neira Ayuso <pablo@netfilter.org> netfilter: move checksum indirection to struct nf_ipv6_ops

We cannot make a direct call to nf_ip6_checksum() because that would
result in autoloading the 'ipv6' module because of symbol dependencies.
Therefore, define checksum indirection in nf_ipv6_ops where this really
belongs to.

For IPv4, we can indeed make a direct function call, which is faster,
given IPv4 is built-in in the networking code by default. Still,
CONFIG_INET=n and CONFIG_NETFILTER=y is possible, so define empty inline
stub for IPv4 in such case.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
/linux/net/ipv6/
H A Dnetfilter.cdiff ef71fe27ec2f1607e38af160ab261a8d8ef8e121 Mon Nov 27 21:55:14 CET 2017 Pablo Neira Ayuso <pablo@netfilter.org> netfilter: move checksum indirection to struct nf_ipv6_ops

We cannot make a direct call to nf_ip6_checksum() because that would
result in autoloading the 'ipv6' module because of symbol dependencies.
Therefore, define checksum indirection in nf_ipv6_ops where this really
belongs to.

For IPv4, we can indeed make a direct function call, which is faster,
given IPv4 is built-in in the networking code by default. Still,
CONFIG_INET=n and CONFIG_NETFILTER=y is possible, so define empty inline
stub for IPv4 in such case.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>