Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43185
b: refs/heads/master
c: e16aa20
h: refs/heads/master
i:
  43183: dbc934d
v: v3
  • Loading branch information
Ralf Baechle authored and David S. Miller committed Dec 7, 2006
1 parent cd10abb commit 0710938
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 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: 26db167702756d0022f8ea5f1f30cad3018cfe31
refs/heads/master: e16aa207ccb61c5111525c462eeeba1f3f5fd370
4 changes: 2 additions & 2 deletions trunk/net/core/wireless.c
Original file line number Diff line number Diff line change
Expand Up @@ -2130,7 +2130,7 @@ int iw_handler_set_spy(struct net_device * dev,
* The rtnl_lock() make sure we don't race with the other iw_handlers.
* This make sure wireless_spy_update() "see" that the spy list
* is temporarily disabled. */
wmb();
smp_wmb();

/* Are there are addresses to copy? */
if(wrqu->data.length > 0) {
Expand Down Expand Up @@ -2159,7 +2159,7 @@ int iw_handler_set_spy(struct net_device * dev,
}

/* Make sure above is updated before re-enabling */
wmb();
smp_wmb();

/* Enable addresses */
spydata->spy_number = wrqu->data.length;
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv4/inet_timewait_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void inet_twdr_hangman(unsigned long data)
need_timer = 0;
if (inet_twdr_do_twkill_work(twdr, twdr->slot)) {
twdr->thread_slots |= (1 << twdr->slot);
mb();
smp_mb();
schedule_work(&twdr->twkill_work);
need_timer = 1;
} else {
Expand Down
4 changes: 2 additions & 2 deletions trunk/net/ipv4/tcp_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -4235,7 +4235,7 @@ static int tcp_rcv_synsent_state_process(struct sock *sk, struct sk_buff *skb,
* Change state from SYN-SENT only after copied_seq
* is initialized. */
tp->copied_seq = tp->rcv_nxt;
mb();
smp_mb();
tcp_set_state(sk, TCP_ESTABLISHED);

security_inet_conn_established(sk, skb);
Expand Down Expand Up @@ -4483,7 +4483,7 @@ int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb,
case TCP_SYN_RECV:
if (acceptable) {
tp->copied_seq = tp->rcv_nxt;
mb();
smp_mb();
tcp_set_state(sk, TCP_ESTABLISHED);
sk->sk_state_change(sk);

Expand Down
2 changes: 1 addition & 1 deletion trunk/net/packet/af_packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ static int tpacket_rcv(struct sk_buff *skb, struct net_device *dev, struct packe
sll->sll_ifindex = dev->ifindex;

h->tp_status = status;
mb();
smp_mb();

{
struct page *p_start, *p_end;
Expand Down

0 comments on commit 0710938

Please sign in to comment.