]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: act_mirred: Refactor detection whether dev needs xmit at mac header
authorShmulik Ladkani <shmulik.ladkani@gmail.com>
Thu, 13 Oct 2016 06:06:42 +0000 (09:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Oct 2016 14:23:06 +0000 (10:23 -0400)
commit7d415874b5e2d10693c46136e92eea7527308774
treeb49a643c29af9647db060d4c0bb2ddbfe7ea1861
parent5f9d1ed475f62a094614725ae29b280ba95a72c1
net/sched: act_mirred: Refactor detection whether dev needs xmit at mac header

Move detection logic that tests whether device expects skb data to point
at mac_header upon xmit into a function.

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>
net/sched/act_mirred.c