Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247735
b: refs/heads/master
c: c9d10c4
h: refs/heads/master
i:
  247733: 7464a5a
  247731: 4a81309
  247727: 14d43f3
v: v3
  • Loading branch information
David S. Miller committed May 19, 2011
1 parent fe59d87 commit 64ebf86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 9e5e10a22507b8d372bcf0e88875d4a3f6ede297
refs/heads/master: c9d10c497c3728a5c798c11486dccdc01b2092a8
5 changes: 1 addition & 4 deletions trunk/net/rxrpc/ar-error.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ void rxrpc_UDP_error_handler(struct work_struct *work)
struct rxrpc_transport *trans =
container_of(work, struct rxrpc_transport, error_handler);
struct sk_buff *skb;
int local, err;
int err;

_enter("");

Expand All @@ -157,7 +157,6 @@ void rxrpc_UDP_error_handler(struct work_struct *work)

switch (ee->ee_origin) {
case SO_EE_ORIGIN_ICMP:
local = 0;
switch (ee->ee_type) {
case ICMP_DEST_UNREACH:
switch (ee->ee_code) {
Expand Down Expand Up @@ -207,15 +206,13 @@ void rxrpc_UDP_error_handler(struct work_struct *work)
case SO_EE_ORIGIN_LOCAL:
_proto("Rx Received local error { error=%d }",
ee->ee_errno);
local = 1;
break;

case SO_EE_ORIGIN_NONE:
case SO_EE_ORIGIN_ICMP6:
default:
_proto("Rx Received error report { orig=%u }",
ee->ee_origin);
local = 0;
break;
}

Expand Down

0 comments on commit 64ebf86

Please sign in to comment.