netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* dhclient, checksum and tap
@ 2010-06-25 15:10 Michael S. Tsirkin
  2010-06-25 18:21 ` David Miller
  0 siblings, 1 reply; 7+ messages in thread
From: Michael S. Tsirkin @ 2010-06-25 15:10 UTC (permalink / raw)
  To: Herbert Xu; +Cc: netdev

Hi!
I've been looking at the issue of checksum on
dhcp packets: to recap, 8dc4194474159660d7f37c495e3fc3f10d0db8cc
added a way for af_packet sockets to get the packet status.
Unfortunately not all dhcp clients caught up with
this development, so they are still broken
when both server and client run on the same host,
e.g. with bridge+tap.

And of course virtualization adds another way to run
old dhcp clients, so userspace virtio net in qemu has
a hack to detect DHCP and fill in the checksum.
I guess we could add this in vhost, as well.

However, one wonders whether the tap driver is a better place
for this work-around, that would help all users.
Any objections against putting such code in tap?

-- 
MST

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

end of thread, other threads:[~2010-06-28  4:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-25 15:10 dhclient, checksum and tap Michael S. Tsirkin
2010-06-25 18:21 ` David Miller
2010-06-26 21:14   ` Michael S. Tsirkin
2010-06-27  3:03     ` David Miller
2010-06-27  8:24       ` Michael S. Tsirkin
2010-06-28  4:59         ` David Miller
2010-06-27 15:46       ` [PATCH RFC] vhost-net: add dhclient work-around from userspace Michael S. Tsirkin

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).