]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter/ebtables: clean up compat {get, set}sockopt handling
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Jul 2020 06:23:19 +0000 (08:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2020 01:16:40 +0000 (18:16 -0700)
commit3367836b47bb8278a4427dcbdadacc29df793d24
tree5ea7b5df1f89d0fddfc7a1cb4edb70bc70d4eb64
parentc582a02497364959a8268db742a7d198671fc762
netfilter/ebtables: clean up compat {get, set}sockopt handling

Merge the native and compat {get,set}sockopt handlers using
in_compat_syscall().  Note that this required moving a fair
amout of code around to be done sanely.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/netfilter/ebtables.c