diff options
| author | Kejian Yan <yankejian@huawei.com> | 2016-06-21 06:56:23 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-06-21 11:51:54 +0300 |
| commit | 8379f0a8ea84f1a904e116b65751681a48a763ea (patch) | |
| tree | 660430536c5742b7a2dea891c6bbc1aba6f80d9e /tools/perf/scripts/python/syscall-counts.py | |
| parent | 14ae335a8599d735d19f600c29c6249dd2c3f7a8 (diff) | |
| download | linux-8379f0a8ea84f1a904e116b65751681a48a763ea.tar.xz | |
net: hns: add skb_reset_mac_header() after skb being alloc
HNS receives a packet without doing anything, but it should call
skb_reset_mac_header() to initialize the header before using
eth_hdr().
Fixes: 0d6b425a3773c3445b0f51b2f333821beaacb619
Signed-off-by: Kejian Yan <yankejian@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
