trinity.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jiri Slaby <jslaby@suse.cz>
To: davej@redhat.com
Cc: trinity@vger.kernel.org, jirislaby@gmail.com,
	Jiri Slaby <jslaby@suse.cz>
Subject: [PATCH 1/1] compat: define more ETH_P_ constants
Date: Tue, 14 Jan 2014 16:57:06 +0100	[thread overview]
Message-ID: <1389715026-26386-1-git-send-email-jslaby@suse.cz> (raw)

Otherwise for 3.0, we see:
net/ether.c:23: error: 'ETH_P_TDLS' undeclared here (not in a function)
net/ether.c:24: error: 'ETH_P_AF_IUCV' undeclared here (not in a function)

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 include/compat.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/compat.h b/include/compat.h
index 0985b8e109fb..2c81d4ba9213 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -832,6 +832,9 @@ struct kvm_get_htab_fd {
 #ifndef ETH_P_PRP
 #define ETH_P_PRP	0x88FB
 #endif
+#ifndef ETH_P_TDLS
+#define ETH_P_TDLS	0x890D
+#endif
 #ifndef ETH_P_QINQ1
 #define ETH_P_QINQ1	0x9100
 #endif
@@ -841,3 +844,6 @@ struct kvm_get_htab_fd {
 #ifndef ETH_P_QINQ3
 #define ETH_P_QINQ3	0x9300
 #endif
+#ifndef ETH_P_AF_IUCV
+#define ETH_P_AF_IUCV	0xFBFB
+#endif
-- 
1.8.5.2

                 reply	other threads:[~2014-01-14 15:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1389715026-26386-1-git-send-email-jslaby@suse.cz \
    --to=jslaby@suse.cz \
    --cc=davej@redhat.com \
    --cc=jirislaby@gmail.com \
    --cc=trinity@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).