From: Kerem Aksu <kerem.aksu@i2i-systems.com>
To: Thomas Monjalon <thomas@monjalon.net>
Cc: linville@tuxdriver.com, dev@dpdk.org, stephen@networkplumber.org,
stable@dpdk.org
Subject: Re: [PATCH] net/af_packet: fix crash in secondary process
Date: Fri, 12 Sep 2025 14:14:48 +0300 [thread overview]
Message-ID: <CAHqJCA=Nh=AoH-8kx-omnxD81FE8QUkQJmh0v_U+Ha=_7kZrDQ@mail.gmail.com> (raw)
In-Reply-To: <3299441.5fSG56mABF@thomas>
[-- Attachment #1: Type: text/plain, Size: 737 bytes --]
> Probably no need to go on the next line, you are allowed to go to 100
characters per line.
> If a second line is needed, only 2 tabs are required.
>
> Why zmalloc? Probably no need to zero it.
I figured since it was only IFNAMSIZ bytes it wouldn't matter because
this will run once at startup. I can use rte_malloc instead.
> We can use a string-specialized function, like strlcpy.
I used memcpy because it was used before this line for the same exact job.
Will post another patch with rte_malloc and strlcpy.
--
Yasal Uyarı: *Bu elektronik posta bu linki kullanarak ulaşabileceğiniz
koşullara tabidir:** **https://i2i-systems.com/email-disclaimer/
<http://i2i-systems.com/about-us/email-disclaimer/>*
[-- Attachment #2: Type: text/html, Size: 1401 bytes --]
next prev parent reply other threads:[~2025-09-12 11:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-12 8:47 Kerem Aksu
2025-09-12 9:32 ` Thomas Monjalon
2025-09-12 11:14 ` Kerem Aksu [this message]
2025-09-12 11:35 ` [PATCH v2] " Kerem Aksu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHqJCA=Nh=AoH-8kx-omnxD81FE8QUkQJmh0v_U+Ha=_7kZrDQ@mail.gmail.com' \
--to=kerem.aksu@i2i-systems.com \
--cc=dev@dpdk.org \
--cc=linville@tuxdriver.com \
--cc=stable@dpdk.org \
--cc=stephen@networkplumber.org \
--cc=thomas@monjalon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).