From: Vlad Yasevich <vyasevich@gmail.com>
To: Haiyang Zhang <haiyangz@microsoft.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: question: Any way to trigger DHCP renewal from kernel code?
Date: Thu, 22 May 2014 20:49:43 -0400 [thread overview]
Message-ID: <537E9B27.8050800@gmail.com> (raw)
In-Reply-To: <c64a7b76572942fda9acffc25dd76c29@DFM-DB3MBX15-06.exchange.corp.microsoft.com>
On 05/22/2014 06:24 PM, Haiyang Zhang wrote:
> Hi,
>
> Our synthetic network driver is notified when the Hyper-V host
> resume from sleep/hibernation. We need to renew DHCP in this case.
> I'm looking for a way to trigger DHCP renewal from kernel mode
> code.
>
> Can anyone help me?
One idea:
Generate a udev event and a udev rule that triggers a renew when
event is received.
-vlad
>
> Thanks,
> - Haiyang
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2014-05-23 0:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-22 22:24 question: Any way to trigger DHCP renewal from kernel code? Haiyang Zhang
2014-05-23 0:49 ` Vlad Yasevich [this message]
2014-05-23 9:20 ` zhuyj
2014-05-23 15:06 ` Dan Williams
2014-05-23 15:19 ` Haiyang Zhang
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=537E9B27.8050800@gmail.com \
--to=vyasevich@gmail.com \
--cc=haiyangz@microsoft.com \
--cc=netdev@vger.kernel.org \
/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).