netfilter/arp_tables: clean up compat {get, set}sockopt handling
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Jul 2020 06:23:16 +0000 (08:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2020 01:16:40 +0000 (18:16 -0700)
commit983094b4fc2d6a0b356f189593970cea2682a20c
tree3c86672f4ec9088970989b9a240058773445cbd2
parent55db9c0e853421fa71cac5e6855898601f78a1f5
netfilter/arp_tables: clean up compat {get, set}sockopt handling

Merge the native and compat {get,set}sockopt handlers using
in_compat_syscall().

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