]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5cf799ed80e97590b35f59a6086e64251cf4b16a
treec434958cd7dae909efaf94980c68b5a651db3da2
parent2906955f86a78eb9d9c57fb0179995ce0fdbb1c9
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: b2e88d736799 ("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