Commit 767ac366 authored by David S. Miller's avatar David S. Miller

Merge bk://kernel.bkbits.net/acme/llc-2.6

into nuts.ninka.net:/disk1/davem/BK/net-2.5
parents 4914ce2d 771ff27e
...@@ -79,17 +79,14 @@ void llc_del_sap(struct llc_sap *sap) ...@@ -79,17 +79,14 @@ void llc_del_sap(struct llc_sap *sap)
*/ */
struct llc_sap *llc_sap_find(unsigned char sap_value) struct llc_sap *llc_sap_find(unsigned char sap_value)
{ {
struct llc_sap* sap = NULL; struct llc_sap* sap;
struct list_head *entry;
read_lock_bh(&llc_sap_list_lock); read_lock_bh(&llc_sap_list_lock);
list_for_each(entry, &llc_sap_list) { list_for_each_entry(sap, &llc_sap_list, node)
sap = list_entry(entry, struct llc_sap, node);
if (sap->laddr.lsap == sap_value) if (sap->laddr.lsap == sap_value)
break; goto out;
} sap = NULL;
if (entry == &llc_sap_list) /* not found */ out:
sap = NULL;
read_unlock_bh(&llc_sap_list_lock); read_unlock_bh(&llc_sap_list_lock);
return sap; return sap;
} }
......
...@@ -315,9 +315,3 @@ void llc_sap_handler(struct llc_sap *sap, struct sk_buff *skb) ...@@ -315,9 +315,3 @@ void llc_sap_handler(struct llc_sap *sap, struct sk_buff *skb)
} else } else
kfree_skb(skb); kfree_skb(skb);
} }
EXPORT_SYMBOL(llc_save_primitive);
EXPORT_SYMBOL(llc_build_and_send_test_pkt);
EXPORT_SYMBOL(llc_build_and_send_ui_pkt);
EXPORT_SYMBOL(llc_build_and_send_xid_pkt);
EXPORT_SYMBOL(llc_sap_handler);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment