net sched actions: fix module auto-loading
authorRoman Mashak <mrv@mojatatu.com>
Wed, 11 Oct 2017 14:50:30 +0000 (10:50 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Oct 2017 05:13:20 +0000 (22:13 -0700)
commitd3f24ba895f0bbbc8ab0ecb03de7daa6eccc7ceb
treec434958cd7dae909efaf94980c68b5a651db3da2
parent8f04748016f3b583e675e0f649d42cfc10812a8b
net sched actions: fix module auto-loading

Macro __stringify_1() can stringify a macro argument, however IFE_META_*
are enums, so they never expand, however request_module expects an integer
in IFE module name, so as a result it always fails to auto-load.

Fixes: ef6980b6becb ("introduce IFE action")
Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_ife.c