Skip to contentSkip to conversation

add missing ipset_parse_tcp_udp_port to libipset.map

PATCH Superseded Thomas Backlund 3 participants 5 messages Oct 24, 2014 – Oct 28, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add missing ipset_parse_tcp_udp_port to libipset.map

Found this issue when we switched from 6.19 static build to 6.21 dynamic build, and is still there in 6.23

--
Thomas

Commit:

author Quentin Armitage <[email protected]> 2013-08-09 11:26:33 (GMT)
committer Jozsef Kadlecsik <[email protected]> 2013-08-17 19:31:29 (GMT)
commit 480761a3bdaa55bf8c966e4dab950ebf84775863 (patch)
tree 6d750f948abf1ae4f93e4c704502d085ac13d679
parent 3a4419954a3ae0ba5dafd711e6b8dd8f0beb5c21 (diff)
Add specifying protocol for bitmap:port

added ipset_parse_tcp_udp_port, but forgot to update libipset.map

so we get:

# ipset list
/usr/lib64/ipset/ipset_bitmap_port.so: /usr/lib64/ipset/ipset_bitmap_port.so: undefined symbol: ipset_parse_tcp_udp_port

so update the map.

---
Note, this patch is against a build that also has the ipset_parse_uint16 added:
http://www.spinics.net/lists/netfilter-devel/msg33805.html

Since there is now 2 issues, what should be done for:
"bump API curr and age in Make_global.am and add a new section to libipset.map"

lib/libipset.map +1 -0
diff -Nurp ipset-6.23.old/lib/libipset.map ipset-6.23/lib/libipset.map
@@ -149,6 +149,7 @@ LIBIPSET_4.3 {
 global:
   ipset_parse_skbmark;
   ipset_parse_skbprio;
+  ipset_parse_tcp_udp_port;
   ipset_parse_uint16;
   ipset_print_skbmark;
   ipset_print_skbprio;
#1 lore raw
Quoted 2 lines · Thomas Backlund

Found this issue when we switched from 6.19 static build to 6.21 dynamic build, and is still there in 6.23

What has been released is immutable; after a release, only add symbols to new sections.

#2 lore raw

PATCH v2 1/1 add missing ipset_parse_tcp_udp_port to libipset.map

2014-10-24 23:07, Jan Engelhardt skrev:

Quoted 8 lines · Thomas Backlund
Quoted 3 lines

Found this issue when we switched from 6.19 static build to 6.21 dynamic build, and is still there in 6.23

What has been released is immutable; after a release, only add symbols to new sections.

Ok, so I guess it should be added after the patch:

[PATCH] libipset: Bump lib version and update map file

posted today, so something like:

Commit:

author Quentin Armitage <[email protected]> 2013-08-09 11:26:33 (GMT)
committer Jozsef Kadlecsik <[email protected]> 2013-08-17 19:31:29 (GMT)
commit 480761a3bdaa55bf8c966e4dab950ebf84775863 (patch)
tree 6d750f948abf1ae4f93e4c704502d085ac13d679
parent 3a4419954a3ae0ba5dafd711e6b8dd8f0beb5c21 (diff)
Add specifying protocol for bitmap:port

added ipset_parse_tcp_udp_port(), but forgot to update libipset.map

so we get:

# ipset list
/usr/lib64/ipset/ipset_bitmap_port.so: /usr/lib64/ipset/ipset_bitmap_port.so: undefined symbol: ipset_parse_tcp_udp_port

so update the map.

---
 lib/libipset.map |    1 +
 1 file changed, 1 insertion(+)

Note, this patch is added after the patch posted earlier today (so we 're-use' the newly added LIBIPSET_4.4 and lib version bump
as it's not released yet):

[PATCH] libipset: Bump lib version and update map file

The ipset_parse_uint16() was introduced but no lib version bumped and no map file updated.

Bump lib version to 9:0:6. (current and age was bumped)

lib/libipset.map +1 -0
diff -Nurp ipset-6.23.orig/lib/libipset.map ipset-6.23/lib/libipset.map
@@ -155,5 +155,6 @@ global:
 
 LIBIPSET_4.4 {
 global:
+  ipset_parse_tcp_udp_port;
   ipset_parse_uint16;
 } LIBIPSET_4.3;
#4 lore raw
In reply to Jan Engelhardt
Quoted 7 lines · Jan Engelhardt
Quoted 2 lines · Thomas Backlund

Found this issue when we switched from 6.19 static build to 6.21 dynamic build, and is still there in 6.23

What has been released is immutable; after a release, only add symbols to new sections.

Yes, that's so. I'm going to write a check to catch such missing items before a release in the future.

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences

          H-1525 Budapest 114, POB. 49, Hungary
#3 lore raw
In reply to Thomas Backlund
Quoted 8 lines · Thomas Backlund

2014-10-24 23:07, Jan Engelhardt skrev:

Quoted 6 lines · Thomas Backlund
Quoted 4 lines

Found this issue when we switched from 6.19 static build to 6.21 dynamic build,
and is still there in 6.23

Quoted 8 lines
Quoted 2 lines

What has been released is immutable; after a release, only add symbols to new sections.

Ok, so I guess it should be added after the patch:

[PATCH] libipset: Bump lib version and update map file

posted today, so something like:

Patch is applied, thanks.

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences

          H-1525 Budapest 114, POB. 49, Hungary