public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber•org>
To: Sergey Popovich <popovich_sergei@mail•ru>
Cc: netdev@vger•kernel.org
Subject: Re: [PATCH 1/2] Initialize arguments to iplink_parse() by default
Date: Fri, 20 Dec 2013 08:27:07 -0800	[thread overview]
Message-ID: <20131220082707.674bad28@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <4467313.PgxQL6MHJm@tuxracer>

> Be consistent when dealing with arguments passed
> to iplink_parse() by initializing to default values.
> 
> This fixes crash when ip-link(8) invoced with command:
> 
>   ip link add dev veth1a type veth peer
> 
> Signed-off-by: Sergey Popovich <popovich_sergei@mail•ru>

Rather than modifying iplink_parse, I just fixed in veth code where the bug
was being caused.

      reply	other threads:[~2013-12-20 16:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1386764590.git.popovich_sergei@mail.ru>
2013-12-11 12:25 ` [PATCH 2/2] Handle netdev group for veth peer too Sergey Popovich
2013-12-11 12:25 ` [PATCH 1/2] Initialize arguments to iplink_parse() by default Sergey Popovich
2013-12-20 16:27   ` Stephen Hemminger [this message]

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=20131220082707.674bad28@nehalam.linuxnetplumber.net \
    --to=stephen@networkplumber$(echo .)org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=popovich_sergei@mail$(echo .)ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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