]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: pktgen: use reset to set mac header
authorZhang Shengju <zhangshengju@cmss.chinamobile.com>
Mon, 29 Feb 2016 08:21:30 +0000 (08:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 22:46:54 +0000 (17:46 -0500)
commitc145aeb3ff899f38bd28ccbc40dbb647dd1b1fd3
treee40bc9203c1df143fe727cc6c16851a2dcb4e382
parent241deec94425b5e962e2bf8a929d563afda045f7
net: pktgen: use reset to set mac header

Since offset is zero, it's not necessary to use set function.

Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c