netfilter: xtables: use ipt_get_target_c instead of ipt_get_target
Taehee Yoo authored

ipt_get_target is used to get struct xt_entry_target
and ipt_get_target_c is used to get const struct xt_entry_target.
However in the ipt_do_table, ipt_get_target is used to get
const struct xt_entry_target. it should be replaced by ipt_get_target_c.
Signed-off-by: default avatarTaehee Yoo <ap420073@gmail.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
dc3c09d3
Name Last commit Last update
Documentation soc: ti: K2G: enhancement to support QMSS in K2G NAVSS
LICENSES LICENSES: Add MPL-1.1 license
arch Merge tag 'for-linus-4.17-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
block Merge tag 'for-4.17/block-20180402' of git://git.kernel.dk/linux-block
certs certs/blacklist_nohashes.c: fix const confusion in certs blacklist
crypto Merge tag 'mips_4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/mips
drivers hv_netvsc: Add NetVSP v6 and v6.1 into version negotiation
firmware kbuild: remove all dummy assignments to obj-
fs Merge tag 'tags/upstream-4.17-rc1' of git://git.infradead.org/linux-ubifs
include netfilter: ebtables: add ebt_get_target and ebt_get_target_c
init seq_file: allocate seq_file from kmem_cache
ipc ipc/shm.c: shm_split(): remove unneeded test for NULL shm_file_data.vm_ops
kernel xdp: transition into using xdp_frame for return API
lib Merge tag 'dma-mapping-4.17-2' of git://git.infradead.org/users/hch/dma-mapping
mm page cache: use xa_lock
net netfilter: xtables: use ipt_get_target_c instead of ipt_get_target
samples Merge tag 'rproc-v4.17' of git://github.com/andersson/remoteproc
scripts Merge tag 'asm-generic' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic
security ipc/msg: introduce msgctl(MSG_STAT_ANY)
sound Merge tag 'sound-fix-4.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
tools selftest: tc_flower: add testcase for 'ip_flags'
usr kbuild: rename built-in.o to built-in.a
virt Merge tag 'kvm-arm-for-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm
.clang-format clang-format: add configuration file
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.