]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: act_mirred: Rename tcfm_ok_push to tcfm_mac_header_xmit and make it a...
authorShmulik Ladkani <shmulik.ladkani@gmail.com>
Thu, 13 Oct 2016 06:06:41 +0000 (09:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Oct 2016 14:23:06 +0000 (10:23 -0400)
commit5f9d1ed475f62a094614725ae29b280ba95a72c1
tree532d5770e1b7ca21225e109df497afcb65fb8918
parent352f995470bdbeea8eb21276206f963fcd8507dd
net/sched: act_mirred: Rename tcfm_ok_push to tcfm_mac_header_xmit and make it a bool

'tcfm_ok_push' specifies whether a mac_len sized push is needed upon
egress to the target device (if action is performed at ingress).

Rename it to 'tcfm_mac_header_xmit' as this is actually an attribute of
the target device (and use a bool instead of int).

This allows to decouple the attribute from the action to be taken.

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tc_act/tc_mirred.h
net/sched/act_mirred.c