]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_reject_bridge: fix skb allocation size in nft_reject_br_send_v6_unreach
authorTaehee Yoo <ap420073@gmail.com>
Fri, 1 Jun 2018 10:12:28 +0000 (19:12 +0900)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 4 Jun 2018 16:28:03 +0000 (18:28 +0200)
commitcd6d9fdebd327e1dbb98d9c030b22a345bca9424
tree7d27a9ec2fc4344c282408a47e83dba6316e53ad
parentc83a76c3d503936c54238f84b70250663e912137
netfilter: nft_reject_bridge: fix skb allocation size in nft_reject_br_send_v6_unreach

In order to allocate icmpv6 skb, sizeof(struct ipv6hdr) should be used.

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/bridge/netfilter/nft_reject_bridge.c