All of lore.kernel.org
 help / color / mirror / Atom feed
* POM conditional parts
@ 2003-11-28 12:28 KOVACS Krisztian
  2003-11-28 12:52 ` Henrik Nordstrom
  0 siblings, 1 reply; 2+ messages in thread
From: KOVACS Krisztian @ 2003-11-28 12:28 UTC (permalink / raw)
  To: Netfilter Development Mailinglist


   Hi,

   I'd have a question regarding POM and dependencies. I'm currently 
working on NAT tuple reservations, and have a problem: I'd like to change 
the number of arguments of ip_nat_used_tuple(). However, it's also used 
outside of the NAT core: the unique_tuple() functions of the per-protocol 
NAT modules use it.

   So, if I'd like to prepare a POM patch which changes 
ip_nat_used_tuple(), it breaks other patches (for example GRE NAT). So, 
I'd need some "conditional patches" functionality, e.g. parts of the NAT 
reservation patch should be applied only if some other patch is applied... 
AFAIK, this is not possible with current POM. Any ideas?

-- 
   Regards,
     Krisztian KOVACS

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

* Re: POM conditional parts
  2003-11-28 12:28 POM conditional parts KOVACS Krisztian
@ 2003-11-28 12:52 ` Henrik Nordstrom
  0 siblings, 0 replies; 2+ messages in thread
From: Henrik Nordstrom @ 2003-11-28 12:52 UTC (permalink / raw)
  To: KOVACS Krisztian; +Cc: Netfilter Development Mailinglist

On Fri, 28 Nov 2003, KOVACS Krisztian wrote:

>    So, if I'd like to prepare a POM patch which changes 
> ip_nat_used_tuple(), it breaks other patches (for example GRE NAT). So, 
> I'd need some "conditional patches" functionality, e.g. parts of the NAT 
> reservation patch should be applied only if some other patch is applied... 
> AFAIK, this is not possible with current POM. Any ideas?

You then need to split the patch in two and use dependencies to get the 
relations correct.

Regards
Henrik

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

end of thread, other threads:[~2003-11-28 12:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-28 12:28 POM conditional parts KOVACS Krisztian
2003-11-28 12:52 ` Henrik Nordstrom

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.