~ubuntu-branches/ubuntu/wily/linux-ti-omap4/wily

« back to all changes in this revision

Viewing changes to drivers/net/team/team_mode_roundrobin.c

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati
  • Date: 2013-07-11 18:35:20 UTC
  • Revision ID: package-import@ubuntu.com-20130711183520-htnf1x4y5r11hndr
Tags: 3.5.0-229.42
* Release Tracking Bug
  - LP: #1199276

[ Paolo Pisati ]

* [Config] CONFIG_ATH9K_LEGACY_RATE_CONTROL is not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
 
53
53
        port_index = rr_priv(team)->sent_packets++ % team->en_port_count;
54
54
        port = team_get_port_by_index_rcu(team, port_index);
 
55
        if (unlikely(!port))
 
56
                goto drop;
55
57
        port = __get_first_port_up(team, port);
56
58
        if (unlikely(!port))
57
59
                goto drop;