]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/suse-2.6.27.39/patches.kabi/move-aarp_send_ddp-export-back
Fix oinkmaster patch.
[ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.kabi / move-aarp_send_ddp-export-back
1 From: Michal Marek <mmarek@suse.cz>
2 Subject: KABI: move EXPORT_SYMBOL(aarp_send_ddp) back
3
4 commit 6bf956e (appletalk: Fix skb leak when ipddp interface is not
5 loaded (CVE-2009-2903)) moved the aarp_send_ddp() export from
6 net/appletalk/ddp.c to net/appletalk/aarp.c. As this change was not
7 needed to fix the bug and it breaks the kabi singature of
8 aarp_send_ddp(), move it back.
9
10 Signed-off-by: Michal Marek <mmarek@suse.cz>
11 ---
12 net/appletalk/aarp.c | 1 -
13 net/appletalk/ddp.c | 1 +
14 2 files changed, 1 insertion(+), 1 deletion(-)
15
16 --- a/net/appletalk/aarp.c
17 +++ b/net/appletalk/aarp.c
18 @@ -676,7 +676,6 @@ free_it:
19 drop:
20 return NET_XMIT_DROP;
21 }
22 -EXPORT_SYMBOL(aarp_send_ddp);
23
24 /*
25 * An entry in the aarp unresolved queue has become resolved. Send
26 --- a/net/appletalk/ddp.c
27 +++ b/net/appletalk/ddp.c
28 @@ -1879,6 +1879,7 @@ static struct packet_type ppptalk_packet
29 static unsigned char ddp_snap_id[] = { 0x08, 0x00, 0x07, 0x80, 0x9B };
30
31 /* Export symbols for use by drivers when AppleTalk is a module */
32 +EXPORT_SYMBOL(aarp_send_ddp);
33 EXPORT_SYMBOL(atrtr_get_dev);
34 EXPORT_SYMBOL(atalk_find_dev_addr);
35