Eric Dumazet d496958145 pktgen: remove one sparse error
net/core/pktgen.c:2672:43: warning: incorrect type in assignment (different base types)
net/core/pktgen.c:2672:43:    expected unsigned short [unsigned] [short] [usertype] <noident>
net/core/pktgen.c:2672:43:    got restricted __be16 [usertype] protocol

Let's use proper struct ethhdr instead of hard coding everything.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-05-25 20:27:50 -04:00
..
2015-04-11 15:53:35 -04:00
2015-04-02 14:04:59 -04:00
2015-05-17 23:41:11 -04:00
2015-05-25 20:27:50 -04:00
2015-03-11 21:55:28 -04:00
2015-05-17 22:45:48 -04:00