Changeset 11383


Ignore:
Timestamp:
01/11/09 18:10:15 (4 years ago)
Author:
BrainSlayer
Message:

alignment fix

Location:
src/linux/rt2880/linux-2.6.23/net
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/linux/rt2880/linux-2.6.23/net/core/dev.c

    r11382 r11383  
    17951795#endif           
    17961796 
     1797#ifdef CONFIG_BRIDGE 
     1798        /* Optimisation for framebursting (allow interleaving of pkts by 
     1799         * immediately processing the rx pkt instead of Qing the pkt and deferring 
     1800         * the processing). Only optimise for bridging and guard against non 
     1801         * TASKLET based netif_rx calls. 
     1802         */ 
     1803        if (!in_irq() && (skb->dev->br_port != NULL) && br_handle_frame_hook != NULL) { 
     1804                local_irq_restore(flags); 
     1805                return netif_receive_skb(skb); 
     1806        } 
     1807#endif           
    17971808        if (queue->input_pkt_queue.qlen <= netdev_max_backlog) { 
    17981809                if (queue->input_pkt_queue.qlen) { 
  • src/linux/rt2880/linux-2.6.23/net/ipv4/tcp_output.c

    r10741 r11383  
    247247                 * Relax Will Robinson. 
    248248                 */ 
    249                 new_win = cur_win; 
     249                new_win = ALIGN(cur_win, 1 << tp->rx_opt.rcv_wscale); 
    250250        } 
    251251        tp->rcv_wnd = new_win; 
Note: See TracChangeset for help on using the changeset viewer.