diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 14:38:13 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 14:38:13 -0500 |
commit | cb18eccff48ef3986d1072964590bce6fec705fb (patch) | |
tree | 777fb1d15e0281341e1e02c9803d989538d346f2 /net/netrom/nr_route.c | |
parent | c827ba4cb49a30ce581201fd0ba2be77cde412c7 (diff) | |
parent | 5ef213f6842277ee1df5659f59fac0ffc9beb411 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (45 commits)
[IPV4]: Restore multipath routing after rt_next changes.
[XFRM] IPV6: Fix outbound RO transformation which is broken by IPsec tunnel patch.
[NET]: Reorder fields of struct dst_entry
[DECNET]: Convert decnet route to use the new dst_entry 'next' pointer
[IPV6]: Convert ipv6 route to use the new dst_entry 'next' pointer
[IPV4]: Convert ipv4 route to use the new dst_entry 'next' pointer
[NET]: Introduce union in struct dst_entry to hold 'next' pointer
[DECNET]: fix misannotation of linkinfo_dn
[DECNET]: FRA_{DST,SRC} are le16 for decnet
[UDP]: UDP can use sk_hash to speedup lookups
[NET]: Fix whitespace errors.
[NET] XFRM: Fix whitespace errors.
[NET] X25: Fix whitespace errors.
[NET] WANROUTER: Fix whitespace errors.
[NET] UNIX: Fix whitespace errors.
[NET] TIPC: Fix whitespace errors.
[NET] SUNRPC: Fix whitespace errors.
[NET] SCTP: Fix whitespace errors.
[NET] SCHED: Fix whitespace errors.
[NET] RXRPC: Fix whitespace errors.
...
Diffstat (limited to 'net/netrom/nr_route.c')
-rw-r--r-- | net/netrom/nr_route.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/net/netrom/nr_route.c b/net/netrom/nr_route.c index 8f88964099ef..e9909aeb43e9 100644 --- a/net/netrom/nr_route.c +++ b/net/netrom/nr_route.c | |||
@@ -781,8 +781,8 @@ int nr_route_frame(struct sk_buff *skb, ax25_cb *ax25) | |||
781 | 781 | ||
782 | if (ax25 != NULL) { | 782 | if (ax25 != NULL) { |
783 | ret = nr_add_node(nr_src, "", &ax25->dest_addr, ax25->digipeat, | 783 | ret = nr_add_node(nr_src, "", &ax25->dest_addr, ax25->digipeat, |
784 | ax25->ax25_dev->dev, 0, | 784 | ax25->ax25_dev->dev, 0, |
785 | sysctl_netrom_obsolescence_count_initialiser); | 785 | sysctl_netrom_obsolescence_count_initialiser); |
786 | if (ret) | 786 | if (ret) |
787 | return ret; | 787 | return ret; |
788 | } | 788 | } |
@@ -861,8 +861,8 @@ static void *nr_node_start(struct seq_file *seq, loff_t *pos) | |||
861 | struct nr_node *nr_node; | 861 | struct nr_node *nr_node; |
862 | struct hlist_node *node; | 862 | struct hlist_node *node; |
863 | int i = 1; | 863 | int i = 1; |
864 | 864 | ||
865 | spin_lock_bh(&nr_node_list_lock); | 865 | spin_lock_bh(&nr_node_list_lock); |
866 | if (*pos == 0) | 866 | if (*pos == 0) |
867 | return SEQ_START_TOKEN; | 867 | return SEQ_START_TOKEN; |
868 | 868 | ||
@@ -879,8 +879,8 @@ static void *nr_node_next(struct seq_file *seq, void *v, loff_t *pos) | |||
879 | { | 879 | { |
880 | struct hlist_node *node; | 880 | struct hlist_node *node; |
881 | ++*pos; | 881 | ++*pos; |
882 | 882 | ||
883 | node = (v == SEQ_START_TOKEN) | 883 | node = (v == SEQ_START_TOKEN) |
884 | ? nr_node_list.first | 884 | ? nr_node_list.first |
885 | : ((struct nr_node *)v)->node_node.next; | 885 | : ((struct nr_node *)v)->node_node.next; |
886 | 886 | ||
@@ -963,8 +963,8 @@ static void *nr_neigh_next(struct seq_file *seq, void *v, loff_t *pos) | |||
963 | { | 963 | { |
964 | struct hlist_node *node; | 964 | struct hlist_node *node; |
965 | ++*pos; | 965 | ++*pos; |
966 | 966 | ||
967 | node = (v == SEQ_START_TOKEN) | 967 | node = (v == SEQ_START_TOKEN) |
968 | ? nr_neigh_list.first | 968 | ? nr_neigh_list.first |
969 | : ((struct nr_neigh *)v)->neigh_node.next; | 969 | : ((struct nr_neigh *)v)->neigh_node.next; |
970 | 970 | ||
@@ -997,7 +997,7 @@ static int nr_neigh_show(struct seq_file *seq, void *v) | |||
997 | 997 | ||
998 | if (nr_neigh->digipeat != NULL) { | 998 | if (nr_neigh->digipeat != NULL) { |
999 | for (i = 0; i < nr_neigh->digipeat->ndigi; i++) | 999 | for (i = 0; i < nr_neigh->digipeat->ndigi; i++) |
1000 | seq_printf(seq, " %s", | 1000 | seq_printf(seq, " %s", |
1001 | ax2asc(buf, &nr_neigh->digipeat->calls[i])); | 1001 | ax2asc(buf, &nr_neigh->digipeat->calls[i])); |
1002 | } | 1002 | } |
1003 | 1003 | ||