Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162876
b: refs/heads/master
c: 481a819
h: refs/heads/master
v: v3
  • Loading branch information
Oliver Hartkopp authored and David S. Miller committed Sep 15, 2009
1 parent 8ccd14a commit 69297dd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0b6a05c1dbebe8c616e2e5b0f52b7a01fd792911
refs/heads/master: 481a8199142c050b72bff8a1956a49fd0a75bbe0
2 changes: 1 addition & 1 deletion trunk/drivers/net/can/vcan.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static void vcan_rx(struct sk_buff *skb, struct net_device *dev)
skb->dev = dev;
skb->ip_summed = CHECKSUM_UNNECESSARY;

netif_rx(skb);
netif_rx_ni(skb);
}

static netdev_tx_t vcan_tx(struct sk_buff *skb, struct net_device *dev)
Expand Down
4 changes: 3 additions & 1 deletion trunk/net/can/af_can.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ static int can_create(struct net *net, struct socket *sock, int protocol)
* @skb: pointer to socket buffer with CAN frame in data section
* @loop: loopback for listeners on local CAN sockets (recommended default!)
*
* Due to the loopback this routine must not be called from hardirq context.
*
* Return:
* 0 on success
* -ENETDOWN when the selected interface is down
Expand Down Expand Up @@ -278,7 +280,7 @@ int can_send(struct sk_buff *skb, int loop)
}

if (newskb)
netif_rx(newskb);
netif_rx_ni(newskb);

/* update statistics */
can_stats.tx_frames++;
Expand Down

0 comments on commit 69297dd

Please sign in to comment.