All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] add missing ipset_parse_tcp_udp_port to libipset.map
@ 2014-10-24 19:23 Thomas Backlund
  2014-10-24 20:08 ` Jan Engelhardt
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Backlund @ 2014-10-24 19:23 UTC (permalink / raw)
  To: netfilter-devel; +Cc: kadlec

[-- Attachment #1: Type: text/plain, Size: 119 bytes --]

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

--
Thomas

[-- Attachment #2: ipset-6.23-add-missing-ipset_parse_tcp_udp_port.patch --]
[-- Type: text/x-patch, Size: 1390 bytes --]


Commit: 

author	Quentin Armitage <quentin@armitage.org.uk>	2013-08-09 11:26:33 (GMT)
committer	Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>	2013-08-17 19:31:29 (GMT)
commit	480761a3bdaa55bf8c966e4dab950ebf84775863 (patch)
tree	6d750f948abf1ae4f93e4c704502d085ac13d679
parent	3a4419954a3ae0ba5dafd711e6b8dd8f0beb5c21 (diff)
Add specifying protocol for bitmap:port
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>

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.

Signed-off-by: Thomas Backlund <tmb@mageia.org>


---
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"

diff -Nurp ipset-6.23.old/lib/libipset.map ipset-6.23/lib/libipset.map
--- ipset-6.23.old/lib/libipset.map	2014-10-24 21:34:52.000000000 +0300
+++ ipset-6.23/lib/libipset.map	2014-10-24 21:45:46.502262622 +0300
@@ -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;

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] add missing ipset_parse_tcp_udp_port to libipset.map
  2014-10-24 19:23 [PATCH] add missing ipset_parse_tcp_udp_port to libipset.map Thomas Backlund
@ 2014-10-24 20:08 ` Jan Engelhardt
  2014-10-24 20:36   ` [PATCH v2] " Thomas Backlund
  2014-10-24 20:44   ` [PATCH] " Jozsef Kadlecsik
  0 siblings, 2 replies; 5+ messages in thread
From: Jan Engelhardt @ 2014-10-24 20:08 UTC (permalink / raw)
  To: Thomas Backlund; +Cc: netfilter-devel, kadlec

On Friday 2014-10-24 21:23, Thomas Backlund wrote:

> 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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2] add missing ipset_parse_tcp_udp_port to libipset.map
  2014-10-24 20:08 ` Jan Engelhardt
@ 2014-10-24 20:36   ` Thomas Backlund
  2014-10-28 18:38     ` Jozsef Kadlecsik
  2014-10-24 20:44   ` [PATCH] " Jozsef Kadlecsik
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas Backlund @ 2014-10-24 20:36 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: netfilter-devel, kadlec

[-- Attachment #1: Type: text/plain, Size: 449 bytes --]



2014-10-24 23:07, Jan Engelhardt skrev:
> On Friday 2014-10-24 21:23, Thomas Backlund wrote:
>
>> 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:


[-- Attachment #2: ipset-6.23-add-missing-ipset_parse_tcp_udp_port-v2.patch --]
[-- Type: text/x-patch, Size: 1473 bytes --]


Commit: 

author	Quentin Armitage <quentin@armitage.org.uk>	2013-08-09 11:26:33 (GMT)
committer	Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>	2013-08-17 19:31:29 (GMT)
commit	480761a3bdaa55bf8c966e4dab950ebf84775863 (patch)
tree	6d750f948abf1ae4f93e4c704502d085ac13d679
parent	3a4419954a3ae0ba5dafd711e6b8dd8f0beb5c21 (diff)
Add specifying protocol for bitmap:port
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>

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.

Signed-off-by: Thomas Backlund <tmb@mageia.org>

---
 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)

diff -Nurp ipset-6.23.orig/lib/libipset.map ipset-6.23/lib/libipset.map
--- ipset-6.23.orig/lib/libipset.map	2014-10-24 23:22:58.000000000 +0300
+++ ipset-6.23/lib/libipset.map	2014-10-24 23:25:24.239233671 +0300
@@ -155,5 +155,6 @@ global:
 
 LIBIPSET_4.4 {
 global:
+  ipset_parse_tcp_udp_port;
   ipset_parse_uint16;
 } LIBIPSET_4.3;

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] add missing ipset_parse_tcp_udp_port to libipset.map
  2014-10-24 20:08 ` Jan Engelhardt
  2014-10-24 20:36   ` [PATCH v2] " Thomas Backlund
@ 2014-10-24 20:44   ` Jozsef Kadlecsik
  1 sibling, 0 replies; 5+ messages in thread
From: Jozsef Kadlecsik @ 2014-10-24 20:44 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: Thomas Backlund, netfilter-devel

On Fri, 24 Oct 2014, Jan Engelhardt wrote:

> On Friday 2014-10-24 21:23, Thomas Backlund wrote:
> 
> > 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  : kadlec@blackhole.kfki.hu, kadlecsik.jozsef@wigner.mta.hu
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] add missing ipset_parse_tcp_udp_port to libipset.map
  2014-10-24 20:36   ` [PATCH v2] " Thomas Backlund
@ 2014-10-28 18:38     ` Jozsef Kadlecsik
  0 siblings, 0 replies; 5+ messages in thread
From: Jozsef Kadlecsik @ 2014-10-28 18:38 UTC (permalink / raw)
  To: Thomas Backlund; +Cc: Jan Engelhardt, netfilter-devel

On Fri, 24 Oct 2014, Thomas Backlund wrote:

> 
> 2014-10-24 23:07, Jan Engelhardt skrev:
> > On Friday 2014-10-24 21:23, Thomas Backlund wrote:
> > 
> > > 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:

Patch is applied, thanks.

Best regards,
Jozsef
-
E-mail  : kadlec@blackhole.kfki.hu, kadlecsik.jozsef@wigner.mta.hu
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-10-28 18:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-24 19:23 [PATCH] add missing ipset_parse_tcp_udp_port to libipset.map Thomas Backlund
2014-10-24 20:08 ` Jan Engelhardt
2014-10-24 20:36   ` [PATCH v2] " Thomas Backlund
2014-10-28 18:38     ` Jozsef Kadlecsik
2014-10-24 20:44   ` [PATCH] " Jozsef Kadlecsik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.