diff options
author | Yotam Gigi <yotam.gi@gmail.com> | 2016-09-26 13:45:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-27 09:53:16 -0400 |
commit | 4b1d488a285a446329825d5fe91f987b7880e6e5 (patch) | |
tree | b2ef6d341e8eac085aa828f66ecc08a22979ed17 /Documentation/acpi | |
parent | 1190cfdb1a19d89561ae51cff7d9c2ead24b3ebe (diff) |
act_ife: Fix external mac header on encode
On ife encode side, external mac header is copied from the original packet
and may be overridden if the user requests. Before, the mac header copy
was done from memory region that might not be accessible anymore, as
skb_cow_head might free it and copy the packet. This led to random values
in the external mac header once the values were not set by user.
This fix takes the internal mac header from the packet, after the call to
skb_cow_head.
Fixes: ef6980b6becb ("net sched: introduce IFE action")
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/acpi')
0 files changed, 0 insertions, 0 deletions