Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254898
b: refs/heads/master
c: 3f97fae
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Jul 8, 2011
1 parent 3b58c0f commit a10661d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 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: 8a98d935c4b8b3515d1403d150e282f95b9f558d
refs/heads/master: 3f97fae9482dac1dbdd870a25c89033d3a0b35dc
2 changes: 1 addition & 1 deletion trunk/Documentation/networking/ip-sysctl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ tcp_orphan_retries - INTEGER
when RTO retransmissions remain unacknowledged.
See tcp_retries2 for more details.

The default value is 7.
The default value is 8.
If your machine is a loaded WEB server,
you should think about lowering this value, such sockets
may consume significant resources. Cf. tcp_max_orphans.
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/natsemi.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ MODULE_LICENSE("GPL");
module_param(mtu, int, 0);
module_param(debug, int, 0);
module_param(rx_copybreak, int, 0);
module_param(dspcfg_workaround, int, 1);
module_param(dspcfg_workaround, int, 0);
module_param_array(options, int, NULL, 0);
module_param_array(full_duplex, int, NULL, 0);
MODULE_PARM_DESC(mtu, "DP8381x MTU (all boards)");
Expand Down
7 changes: 4 additions & 3 deletions trunk/drivers/net/usb/hso.c
Original file line number Diff line number Diff line change
Expand Up @@ -2421,10 +2421,8 @@ static void hso_free_net_device(struct hso_device *hso_dev)

remove_net_device(hso_net->parent);

if (hso_net->net) {
if (hso_net->net)
unregister_netdev(hso_net->net);
free_netdev(hso_net->net);
}

/* start freeing */
for (i = 0; i < MUX_BULK_RX_BUF_COUNT; i++) {
Expand All @@ -2436,6 +2434,9 @@ static void hso_free_net_device(struct hso_device *hso_dev)
kfree(hso_net->mux_bulk_tx_buf);
hso_net->mux_bulk_tx_buf = NULL;

if (hso_net->net)
free_netdev(hso_net->net);

kfree(hso_dev);
}

Expand Down
2 changes: 2 additions & 0 deletions trunk/net/xfrm/xfrm_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -1345,6 +1345,8 @@ int xfrm_state_update(struct xfrm_state *x)
xfrm_state_check_expire(x1);

err = 0;
x->km.state = XFRM_STATE_DEAD;
__xfrm_state_put(x);
}
spin_unlock_bh(&x1->lock);

Expand Down

0 comments on commit a10661d

Please sign in to comment.