~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to net/atm/lec.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-3o58a3c1bj7x00rs
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:
129
129
#if defined(CONFIG_BRIDGE) || defined(CONFIG_BRIDGE_MODULE)
130
130
static void lec_handle_bridge(struct sk_buff *skb, struct net_device *dev)
131
131
{
132
 
        struct ethhdr *eth;
133
132
        char *buff;
134
133
        struct lec_priv *priv;
135
134
 
138
137
         * LE_TOPOLOGY_REQUEST with the same value of Topology Change bit
139
138
         * as the Config BPDU has
140
139
         */
141
 
        eth = (struct ethhdr *)skb->data;
142
140
        buff = skb->data + skb->dev->hard_header_len;
143
141
        if (*buff++ == 0x42 && *buff++ == 0x42 && *buff++ == 0x03) {
144
142
                struct sock *sk;
1173
1171
#endif
1174
1172
 
1175
1173
        register_atm_ioctl(&lane_ioctl_ops);
1176
 
        pr_info("lec.c: " __DATE__ " " __TIME__ " initialized\n");
 
1174
        pr_info("lec.c: initialized\n");
1177
1175
        return 0;
1178
1176
}
1179
1177
 
1180
1178
static void __exit lane_module_cleanup(void)
1181
1179
{
1182
1180
        int i;
1183
 
        struct lec_priv *priv;
1184
1181
 
1185
1182
        remove_proc_entry("lec", atm_proc_root);
1186
1183
 
1188
1185
 
1189
1186
        for (i = 0; i < MAX_LEC_ITF; i++) {
1190
1187
                if (dev_lec[i] != NULL) {
1191
 
                        priv = netdev_priv(dev_lec[i]);
1192
1188
                        unregister_netdev(dev_lec[i]);
1193
1189
                        free_netdev(dev_lec[i]);
1194
1190
                        dev_lec[i] = NULL;