netdev: Do not modify the caller's buffer in netdev_send().
authorBen Pfaff <blp@nicira.com>
Mon, 14 Jul 2008 20:03:09 +0000 (13:03 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 18 Jul 2008 20:42:38 +0000 (13:42 -0700)
commitb563a5247c3535c1d9949351bdf4fc0194e79fbb
tree257f78a81f7be559c95a1efc13346b4770c7cb41
parentf422511c1ad9a61ab7946104a0fabbc12af68485
netdev: Do not modify the caller's buffer in netdev_send().

This makes it possible to use a buffer whose contents are stack-allocated.
include/netdev.h
lib/netdev.c