Re: [1/1] connector: add userspace example code into Documentation/connector/

2006-08-25 Thread Evgeniy Polyakov
On Fri, Aug 25, 2006 at 01:17:27AM -0700, David Miller ([EMAIL PROTECTED]) wrote: > > I mailed it myself and applied to 2.6.18 git tree - "patch -p1" did > > not complain for sure :) > > GIT always complains very loudly about any trailing whitespace on any > lines, patch is too dumb to do that. >

Re: [1/1] connector: add userspace example code into Documentation/connector/

2006-08-25 Thread David Miller
From: Evgeniy Polyakov <[EMAIL PROTECTED]> Date: Fri, 25 Aug 2006 12:15:03 +0400 > I mailed it myself and applied to 2.6.18 git tree - "patch -p1" did > not complain for sure :) GIT always complains very loudly about any trailing whitespace on any lines, patch is too dumb to do that. You do not

Re: [1/1] connector: add userspace example code into Documentation/connector/

2006-08-25 Thread Evgeniy Polyakov
On Fri, Aug 25, 2006 at 12:52:33AM -0700, David Miller ([EMAIL PROTECTED]) wrote: > From: Evgeniy Polyakov <[EMAIL PROTECTED]> > Date: Fri, 25 Aug 2006 11:11:02 +0400 > > > Hello. > > > > I was asked several times to include userspace example code into > > Documentation, so if there is no policy

Re: [1/1] connector: add userspace example code into Documentation/connector/

2006-08-25 Thread David Miller
From: Evgeniy Polyakov <[EMAIL PROTECTED]> Date: Fri, 25 Aug 2006 11:11:02 +0400 > Hello. > > I was asked several times to include userspace example code into > Documentation, so if there is no policy against it, consider attached patch > for 2.6.18. This program works with included > Documenta

Re: [1/1] connector: add userspace example code into Documentation/connector/

2006-08-25 Thread Patrick McHardy
Evgeniy Polyakov wrote: > + l_local.nl_family = AF_NETLINK; > + l_local.nl_groups = 0x123; /* bitmask of requested groups */ > + l_local.nl_pid = 0; > + > + if (bind(s, (struct sockaddr *)&l_local, sizeof(struct sockaddr_nl)) == > -1) { > + perror("bind"); > +

Re: [1/1] connector: add userspace example code into Documentation/connector/

2006-08-25 Thread Evgeniy Polyakov
Hello. I was asked several times to include userspace example code into Documentation, so if there is no policy against it, consider attached patch for 2.6.18. This program works with included Documentation/connector/cn_test.c connector module. Thank you. Signed-off-by: Evgeniy Polyakov <[EMAIL

Re: [1/1] connector: add userspace example code into Documentation/connector/

2006-08-25 Thread Evgeniy Polyakov
On Fri, Aug 25, 2006 at 08:57:23AM +0200, Patrick McHardy ([EMAIL PROTECTED]) wrote: > Evgeniy Polyakov wrote: > > Hello. > > > > I was asked several times to include userspace example code into > > Documentation, so if there is no policy against it, consider attached patch > > for 2.6.18. This

Re: [1/1] connector: add userspace example code into Documentation/connector/

2006-08-24 Thread Patrick McHardy
Evgeniy Polyakov wrote: > Hello. > > I was asked several times to include userspace example code into > Documentation, so if there is no policy against it, consider attached patch > for 2.6.18. This program works with included > Documentation/connector/cn_test.c > connector module. > + l_l

[1/1] connector: add userspace example code into Documentation/connector/

2006-08-24 Thread Evgeniy Polyakov
Hello. I was asked several times to include userspace example code into Documentation, so if there is no policy against it, consider attached patch for 2.6.18. This program works with included Documentation/connector/cn_test.c connector module. Thank you. Signed-off-by: Evgeniy Polyakov <[EMAIL