net: Make netconsole src and dest ports configurable
authorJoe Hershberger <joe.hershberger@ni.com>
Tue, 31 Jul 2012 06:06:41 +0000 (06:06 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 24 Sep 2012 18:17:24 +0000 (13:17 -0500)
commit7f51898c1b170e0036e6931a17ada46e2b4fd52e
tree7a7d89b028823b905401395dc7dcfc0b5da38761
parentee1f4caaa2a3f79d692155eec8a4c7289d60e106
net: Make netconsole src and dest ports configurable

It is desirable to use different port numbers for sending and receiving
packets with netconsole in the case where you have more than one device
on the local subnet with netconsole enabled for broadcast.  When they
use the same port for both, any output from one will look like input to
the other.  This is typlically not desirable.

This patch allows the input and output ports to be specified separately
in the environment.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
doc/README.NetConsole
drivers/net/netconsole.c
tools/netconsole