]> 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)
commit6980447a3c4b29fb99364a4dc8e0eefd8a89bd2a
tree5ea7b5df1f89d0fddfc7a1cb4edb70bc70d4eb64
parent458acbf574c97e65b3af57b28d9d4b73570542e9
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