dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* Seg fault with GRE in pktgen
@ 2019-01-09  1:53 Daniel Pharos
  2019-01-09 23:55 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Pharos @ 2019-01-09  1:53 UTC (permalink / raw)
  To: dev@dpdk.org

Hi,

Using pktgen 3.6.1, I'm getting a seg fault when enabling GRE. In app/pktgen.c, on line 556 l3_hdr is set to NULL, and then on line 567 it is send to a function that calls memset on it, triggering the seg fault I'm seeing. I suppose that l3_hdr argument (and the last argument on line 569 too) should be "eth" instead?


Kind regards,
DanielPharos

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Seg fault with GRE in pktgen
  2019-01-09  1:53 Seg fault with GRE in pktgen Daniel Pharos
@ 2019-01-09 23:55 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2019-01-09 23:55 UTC (permalink / raw)
  To: keith.wiles; +Cc: dev, Daniel Pharos

Adding Keith Wiles, maintainer of pktgen.

09/01/2019 02:53, Daniel Pharos:
> Hi,
> 
> Using pktgen 3.6.1, I'm getting a seg fault when enabling GRE. In app/pktgen.c, on line 556 l3_hdr is set to NULL, and then on line 567 it is send to a function that calls memset on it, triggering the seg fault I'm seeing. I suppose that l3_hdr argument (and the last argument on line 569 too) should be "eth" instead?
> 
> 
> Kind regards,
> DanielPharos

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-09 23:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-09  1:53 Seg fault with GRE in pktgen Daniel Pharos
2019-01-09 23:55 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).