~ubuntu-branches/ubuntu/trusty/linux-linaro-omap/trusty

« back to all changes in this revision

Viewing changes to net/sctp/bind_addr.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-57i0gl3v99b3lkfg
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
        /* Empty the bind address list. */
146
146
        list_for_each_entry_safe(addr, temp, &bp->address_list, list) {
147
147
                list_del_rcu(&addr->list);
148
 
                call_rcu(&addr->rcu, sctp_local_addr_free);
 
148
                kfree_rcu(addr, rcu);
149
149
                SCTP_DBG_OBJCNT_DEC(addr);
150
150
        }
151
151
}
217
217
        }
218
218
 
219
219
        if (found) {
220
 
                call_rcu(&addr->rcu, sctp_local_addr_free);
 
220
                kfree_rcu(addr, rcu);
221
221
                SCTP_DBG_OBJCNT_DEC(addr);
222
222
                return 0;
223
223
        }