OSDN Git Service

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)
commitfc66de8e16ec4d9b4d2696d961de4f81db78a1b6
tree5ea7b5df1f89d0fddfc7a1cb4edb70bc70d4eb64
parentf415e76fd723594ed878a5a79a0ec36eca81c312
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