act_ife: use registered ife_type as fallback
authorAlexander Aring <aring@mojatatu.com>
Mon, 28 Aug 2017 19:03:14 +0000 (15:03 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Aug 2017 22:14:18 +0000 (15:14 -0700)
commitb522ed6ed665ba6a349d31136fa3f40c408f2b5a
treea5a793d5c3fac67547811c1d38730fa68509eabc
parent2804fd3af6ba5ae5737705b27146455eabe2e2f8
act_ife: use registered ife_type as fallback

This patch handles a default IFE type if it's not given by user space
netlink api. The default IFE type will be the registered ethertype by
IEEE for IFE ForCES.

Signed-off-by: Alexander Aring <aring@mojatatu.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_ife.c