On 08/10/2016 01:40 PM, Stefan Hajnoczi wrote:
On Mon, Aug 08, 2016 at 06:14:40PM +0200, ggar...@abra.uab.cat wrote:
+static int __vsock_deliver_tap_skb(struct sk_buff *skb,
+struct net_device *dev)
+{
+ int ret = 0;
+
+ if (skb) {
+
On Mon, Aug 08, 2016 at 06:14:40PM +0200, ggar...@abra.uab.cat wrote:
> +static int __vsock_deliver_tap_skb(struct sk_buff *skb,
> + struct net_device *dev)
> +{
> + int ret = 0;
> +
> + if (skb) {
> + dev_hold(dev);
> + /* Take skb o
From: Gerard Garcia
Add tap functions that can be used by the vsock transports to
deliver packets to vsockmon virtual network devices.
Signed-off-by: Gerard Garcia
---
include/net/af_vsock.h | 13 +
include/uapi/linux/if_arp.h | 1 +
net/vmw_vsock/Makefile | 2 +-
net/vmw