Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 315723
b: refs/heads/master
c: ee6ae1a
h: refs/heads/master
i:
  315721: ad7afb4
  315719: 94c5e8f
v: v3
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Jul 20, 2012
1 parent 1fb3939 commit d3982be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 6f458dfb409272082c9bfa412f77ff2fc21c626f
refs/heads/master: ee6ae1a1d58c70fc864bc777a36be56b0880ebff
7 changes: 6 additions & 1 deletion trunk/include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -2110,7 +2110,12 @@ static inline int netif_set_real_num_rx_queues(struct net_device *dev,
static inline int netif_copy_real_num_queues(struct net_device *to_dev,
const struct net_device *from_dev)
{
netif_set_real_num_tx_queues(to_dev, from_dev->real_num_tx_queues);
int err;

err = netif_set_real_num_tx_queues(to_dev,
from_dev->real_num_tx_queues);
if (err)
return err;
#ifdef CONFIG_RPS
return netif_set_real_num_rx_queues(to_dev,
from_dev->real_num_rx_queues);
Expand Down

0 comments on commit d3982be

Please sign in to comment.